mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: fix uridecodebin signal used in playback test6
"new-decoded-pad" no longer exists.
This commit is contained in:
parent
ab72118d29
commit
953a3479ff
1 changed files with 3 additions and 4 deletions
|
@ -28,8 +28,7 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
static void
|
static void
|
||||||
new_decoded_pad_cb (GstElement * decodebin, GstPad * new_pad, gboolean last,
|
pad_added_cb (GstElement * decodebin, GstPad * new_pad, GstElement * pipeline)
|
||||||
GstElement * pipeline)
|
|
||||||
{
|
{
|
||||||
GstElement *fakesink;
|
GstElement *fakesink;
|
||||||
GstPad *sinkpad;
|
GstPad *sinkpad;
|
||||||
|
@ -112,8 +111,8 @@ main (gint argc, gchar * argv[])
|
||||||
* it depends on whether the queues have started pushing buffers yet or not.
|
* 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
|
* With fakesinks we make sure that the pipeline doesn't go to PAUSED state
|
||||||
* before each fakesink has a buffer queued. */
|
* before each fakesink has a buffer queued. */
|
||||||
g_signal_connect (decodebin, "new-decoded-pad",
|
g_signal_connect (decodebin, "pad-added",
|
||||||
G_CALLBACK (new_decoded_pad_cb), pipeline);
|
G_CALLBACK (pad_added_cb), pipeline);
|
||||||
|
|
||||||
bus = gst_element_get_bus (pipeline);
|
bus = gst_element_get_bus (pipeline);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue