From 564eee8cd667397b4e6a7755bfcea43c8a9cdaf1 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Tue, 22 May 2012 14:27:48 +0300 Subject: [PATCH] tests: rename playbin2 to playbin and adding some debug info --- tests/examples/helloworld/helloworld.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/examples/helloworld/helloworld.c b/tests/examples/helloworld/helloworld.c index a659f5b..013ae4d 100644 --- a/tests/examples/helloworld/helloworld.c +++ b/tests/examples/helloworld/helloworld.c @@ -16,6 +16,7 @@ bus_call (GstBus * bus, GstMessage * msg, gpointer data) GError *err; gst_message_parse_error (msg, &err, &debug); + g_printerr ("Debugging info: %s\n", (debug) ? debug : "none"); g_free (debug); g_print ("Error: %s\n", err->message); @@ -46,9 +47,9 @@ main (gint argc, gchar * argv[]) return 1; } - playbin = gst_element_factory_make ("playbin2", NULL); + playbin = gst_element_factory_make ("playbin", NULL); if (!playbin) { - g_print ("'playbin2' gstreamer plugin missing\n"); + g_print ("'playbin' gstreamer plugin missing\n"); return 1; } -- 2.7.4