[Bug 767791] tagdemux: preserve duration when skipping a tag at the beginning of a buffer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 17 13:20:47 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767791
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #329954|none |reviewed
status| |
--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 329954:
--> (https://bugzilla.gnome.org/review?bug=767791&attachment=329954)
::: gst-libs/gst/tag/gsttagdemux.c
@@ +470,3 @@
GST_BUFFER_TIMESTAMP (sub) = GST_BUFFER_TIMESTAMP (buf);
+ if (GST_BUFFER_DURATION_IS_VALID (buf))
+ GST_BUFFER_DURATION (sub) += GST_BUFFER_DURATION (buf);
Shouldn't this be = instead of += ?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list