re-ordering timestamps GstVideoDecoder

Thornton, Keith keith.thornton at zeiss.com
Fri Jan 23 06:50:34 PST 2015


Hi,
I have a decoder plugin which makes use of the Intel QuickSync decoder under Windows 7 /64 bit. The Frames arrive from the GstVideoDecoder base class in DTS frame order.
The QuickSync decoder re-orders the output frames and returns them in PTS order. When these frames are returned to the base class via gst_decoder_finish_frame, some frames are discarded with a warning "decreasing timestamp" This appears to be because the PTS timestamp in the frame is older than the most current PTS timestamp passed from the base class to my decoder.
In the source code there is a comment that re-ordering is a TODO. It is also written that the derived class is responsible for setting the PTS correctly before calling gst_decoder_finish_frame.
Has anyone else encountered this problem and has found a solution.?
Thanks in advance for any comments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150123/f9fc77a4/attachment.html>


More information about the gstreamer-devel mailing list