tests/check/pipelines/oggmux.c: Don't use deprecated function.

Original commit message from CVS:
* tests/check/pipelines/oggmux.c: (test_pipeline):
Don't use deprecated function.
This commit is contained in:
Tim-Philipp Müller 2008-05-27 10:57:56 +00:00
parent 514b8fa456
commit 555feaa11b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
* tests/check/pipelines/oggmux.c: (test_pipeline):
Don't use deprecated function.
2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/playback/gstdecodebin2.c:

View file

@ -263,7 +263,7 @@ test_pipeline (const char *pipeline)
bin = gst_parse_launch (pipeline, &error);
fail_unless (bin != NULL, "Error parsing pipeline: %s",
error ? error->message : "(invalid error)");
pad = gst_bin_find_unconnected_pad (GST_BIN (bin), GST_PAD_SRC);
pad = gst_bin_find_unlinked_pad (GST_BIN (bin), GST_PAD_SRC);
fail_unless (pad != NULL, "Could not locate free src pad");
/* connect the fake sink */