GNOME Bugzilla – Bug 423283
[qtdemux] timestamps of outgoing h264 packets are wrong
Last modified: 2007-03-28 15:19:11 UTC
Currently, qtdemux doesn't process/handle the 'ctts' atom present in h264 mov/iso files. This means that the outgoing h264 packets are timestamped with dts timestamps instead of pts timestamps. The outgoing buffers of demuxers should have: * TIMESTAMP == pts and if needed: * OFFSET == dts Patch follows to fix that behaviour
Created attachment 85374 [details] [review] Process ctts atom and apply pts on outgoing buffers' timestamp
2007-03-28 Edward Hervey <edward@fluendo.com> * gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample), (gst_qtdemux_chain), (qtdemux_parse_samples): * gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_ctts): * gst/qtdemux/qtdemux_dump.h: * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: Process 'ctts' atoms, which are present in AVC ISO files (.mov files with h264 video). Use the offset present in 'ctts' to calculate the PTS for each packet and set the PTS on outgoing buffers. Fixes #423283