[Bug 795512] videodecoder: Allow ignoring PTS in the past

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 24 16:10:17 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795512

--- Comment #1 from Zeeshan Ali (Khattak) <zeeshanak at gnome.org> ---
Created attachment 371327
  --> https://bugzilla.gnome.org/attachment.cgi?id=371327&action=edit
video: Allow ignoring PTS in the past

Add a new boolean property that tell the video decoder baseclass to simply
ignore PTS set in the past, rather than latching it to the previous PTS.

This is desirable in certain circumstance. One specific case is when the
buffer's PTS is dictated by an external (remote) entity, sending packets
over RTP but sets wrong PTS on certain packets. An RTP jitterbuffer
upstream to the decoder will not help since it will drop such buffers and
that could break the decoder. Instead, the decoder should be told not to
correct the PTS on the buffers in such cases and let the elements
downstream to the decoder decide what to do with the buffer.

Also to keep in mind that the audio decoder baseclass does not attempt to
correct PTS in the past.

This patch also adds a simple testcase for this new property.

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