[Bug 759123] New: gstcollectpads can hang with invalid PTS but valid DTS
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Dec 7 07:12:29 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=759123
Bug ID: 759123
Summary: gstcollectpads can hang with invalid PTS but valid DTS
Classification: Platform
Product: GStreamer
Version: 1.6.1
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: jake.foytik at ipconfigure.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 316880
--> https://bugzilla.gnome.org/attachment.cgi?id=316880&action=edit
GstCollectPads DTS patch.
When muxing an RTSP stream with matroskamux and using pad offsets before the
muxer, it is possible for the gstcollectpads to pass buffers through without
converting the timestamps to the running time.
In the function gst_collect_pads_clip_running_time(), if a buffer contains an
invalid PTS and valid DTS, the buffer is passed without modifying the
timestamps. This causes problems when pad offsets are used and cameras generate
buffers which sometimes contain valid PTS (and sometimes invalid).
I've included a patch, which fixes the hanging problem that we're seeing. In
the patch if a buffer has an invalid PTS and valid DTS, the
gst_segment_to_running_time() function is still called on the DTS only.
Otherwise, it has the same behavior as before.
--
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