mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
Maybe this fixes rhythmbox again
Original commit message from CVS: Maybe this fixes rhythmbox again
This commit is contained in:
parent
1612b83897
commit
912e4ef0f9
1 changed files with 4 additions and 1 deletions
|
@ -1020,9 +1020,12 @@ gst_pad_connect_filtered (GstPad *srcpad, GstPad *sinkpad, GstCaps *filtercaps)
|
|||
|
||||
/* now tell the scheduler, the schedulers on both paths have to be the same,
|
||||
* so we can just take one */
|
||||
if (src_sched && src_sched == sink_sched)
|
||||
if (src_sched)
|
||||
gst_scheduler_pad_connect (src_sched,
|
||||
GST_PAD_CAST (realsrc), GST_PAD_CAST (realsink));
|
||||
else if (sink_sched)
|
||||
gst_scheduler_pad_connect (sink_sched,
|
||||
GST_PAD_CAST (realsrc), GST_PAD_CAST (realsink));
|
||||
|
||||
GST_INFO (GST_CAT_PADS, "connected %s:%s and %s:%s",
|
||||
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad));
|
||||
|
|
Loading…
Reference in a new issue