summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xartigas@fluendo.com>2012-10-26 12:04:04 (GMT)
committerXavi Artigas <xartigas@fluendo.com>2012-10-26 12:04:04 (GMT)
commit387de5544c0bfe28cd75e8a40acdb5f472895f00 (patch)
tree97f3895d3f1076af86189931c7b3df3759945239
parent7a319d7feedfda24bd8cdb2479e991d01ba80786 (diff)
downloadgst-sdk-tutorials-387de5544c0bfe28cd75e8a40acdb5f472895f00.tar.gz
gst-sdk-tutorials-387de5544c0bfe28cd75e8a40acdb5f472895f00.tar.xz
Slightly better buffering UI messages
-rw-r--r--gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c b/gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c
index fb7182b..146402d 100644
--- a/gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c
+++ b/gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c
@@ -218,9 +218,8 @@ static void buffering_cb (GstBus *bus, GstMessage *msg, CustomData *data) {
g_free (message_string);
} else if (data->target_state >= GST_STATE_PLAYING) {
gst_element_set_state (data->pipeline, GST_STATE_PLAYING);
- set_ui_message ("PLAYING", data);
} else if (data->target_state >= GST_STATE_PAUSED) {
- set_ui_message ("PAUSED", data);
+ set_ui_message ("Buffering complete", data);
}
}