ksvideosrc: fix logic and timestamp non-muxed streams again

https://bugzilla.gnome.org/show_bug.cgi?id=750381
This commit is contained in:
Tim-Philipp Müller 2015-06-04 13:31:56 +01:00
parent 4238f62975
commit 96d1331679

View 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;