From 387de5544c0bfe28cd75e8a40acdb5f472895f00 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 26 Oct 2012 14:04:04 +0200 Subject: [PATCH] Slightly better buffering UI messages --- gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c | 3 +-- 1 file changed, 1 insertion(+), 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 fb7182bb44..146402dab1 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); } }