From 953a3479ff5b7ffdac8a0c52929fefae3c504f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 17 Aug 2013 16:58:06 +0100 Subject: [PATCH] tests: fix uridecodebin signal used in playback test6 "new-decoded-pad" no longer exists. --- tests/icles/playback/test6.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/icles/playback/test6.c b/tests/icles/playback/test6.c index 22c77a77d6..144f99b4eb 100644 --- a/tests/icles/playback/test6.c +++ b/tests/icles/playback/test6.c @@ -28,8 +28,7 @@ #include static void -new_decoded_pad_cb (GstElement * decodebin, GstPad * new_pad, gboolean last, - GstElement * pipeline) +pad_added_cb (GstElement * decodebin, GstPad * new_pad, GstElement * pipeline) { GstElement *fakesink; GstPad *sinkpad; @@ -112,8 +111,8 @@ main (gint argc, gchar * argv[]) * it depends on whether the queues have started pushing buffers yet or not. * With fakesinks we make sure that the pipeline doesn't go to PAUSED state * before each fakesink has a buffer queued. */ - g_signal_connect (decodebin, "new-decoded-pad", - G_CALLBACK (new_decoded_pad_cb), pipeline); + g_signal_connect (decodebin, "pad-added", + G_CALLBACK (pad_added_cb), pipeline); bus = gst_element_get_bus (pipeline);