mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
check/ghostpad: Activate pads before checking for caps forwarding/setting
This is now done via in-band events, so the pads need to be active
This commit is contained in:
parent
4b920eb5d2
commit
ef2d593e40
1 changed files with 4 additions and 0 deletions
|
@ -705,6 +705,10 @@ GST_START_TEST (test_ghost_pads_forward_setcaps)
|
|||
G_CALLBACK (ghost_notify_caps), ¬ify_counter);
|
||||
fail_unless (gst_pad_link (ghost, sink) == GST_PAD_LINK_OK);
|
||||
|
||||
/* Activate pads for caps forwarding/setting to work */
|
||||
gst_pad_set_active (src, TRUE);
|
||||
gst_pad_set_active (ghost, TRUE);
|
||||
|
||||
caps1 = gst_caps_from_string ("meh");
|
||||
fail_unless (gst_pad_set_caps (src, caps1));
|
||||
caps2 = gst_pad_get_current_caps (ghost);
|
||||
|
|
Loading…
Reference in a new issue