mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
videomixer: Only reset QoS information and send a NEWSEGMENT event downstream for NEWSEGMENT events on the master pad
This commit is contained in:
parent
eb81574469
commit
38124ef5e5
1 changed files with 4 additions and 2 deletions
|
@ -1751,8 +1751,10 @@ gst_videomixer_sink_event (GstPad * pad, GstEvent * event)
|
|||
vpad->queued = 0;
|
||||
break;
|
||||
case GST_EVENT_NEWSEGMENT:
|
||||
videomixer->sendseg = TRUE;
|
||||
gst_videomixer_reset_qos (videomixer);
|
||||
if (!videomixer->master || vpad == videomixer->master) {
|
||||
videomixer->sendseg = TRUE;
|
||||
gst_videomixer_reset_qos (videomixer);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue