mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
This commit is contained in:
parent
194cd2c9af
commit
2d13350692
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ main (int argc, char *argv[])
|
|||
|
||||
gst_element_set_state (pipeline, GST_STATE_READY);
|
||||
g_print ("Setting caps on fakesrc's src pad\n");
|
||||
if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps)))
|
||||
if (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps) <= 0)
|
||||
g_print ("Could not set caps !\n");
|
||||
|
||||
/* request first pad from tee and connect */
|
||||
|
|
Loading…
Reference in a new issue