ksvideosrc: fix logic and timestamp non-muxed streams again
authorTim-Philipp Müller <tim@centricular.com>
Thu, 4 Jun 2015 12:31:56 +0000 (13:31 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 4 Jun 2015 12:31:56 +0000 (13:31 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=750381

sys/winks/gstksvideosrc.c

index 79cbb7a..07cdf8b 100644 (file)
@@ -815,8 +815,8 @@ gst_ks_video_src_timestamp_buffer (GstKsVideoSrc * self, GstBuffer * buf,
   GstClock *clock;
   GstClockTime timestamp;
 
-  /* Don't timestamp muxed strams */
-  if (!gst_ks_video_device_stream_is_muxed (priv->device)) {
+  /* Don't timestamp muxed streams */
+  if (gst_ks_video_device_stream_is_muxed (priv->device)) {
     duration = timestamp = GST_CLOCK_TIME_NONE;
     priv->offset++;
     goto timestamp;