videomixer: Only reset QoS information and send a NEWSEGMENT event downstream for...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 21 Jul 2010 06:11:23 +0000 (08:11 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 21 Jul 2010 08:23:30 +0000 (10:23 +0200)
gst/videomixer/videomixer.c

index eae349c4e75de1e47e782f561c65f6fe22cca20d..f201eb981e1e3b79aed6740f28718c60986790e4 100644 (file)
@@ -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;