[Bug 791347] New: interaudio: Fix undefined DTS
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Dec 7 15:18:00 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=791347
Bug ID: 791347
Summary: interaudio: Fix undefined DTS
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: dv at pseudoterminal.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Currently, interaudiosrc does not set the DTS value, only the PTS one. This can
cause basesrc to produce incorrect buffer timestamps.
This is because basesrc performs this check:
if (GST_CLOCK_TIME_IS_VALID (dts))
timestamp = dts;
else
timestamp = pts;
So, if the undefined DTS value happens to be anything other than ((guint64)-1),
basesrc ends up using the undefined DTS value instead of the defined PTS one
for
the outgoing buffers.
Fix this by explicitely setting DTS to GST_CLOCK_TIME_NONE.
--
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