summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux_types.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-03-28 15:17:27 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-03-28 15:17:27 +0000
commitab589bff3e975300c0f9f26b534078155c1989ea (patch)
treefd9e49f4a888dcbcb4f60b971c2dce2de01676b5 /gst/qtdemux/qtdemux_types.c
parent8f5fb88b5ac1b80dc0ab8190a2da26f2c23f31f2 (diff)
gst/qtdemux/: Process 'ctts' atoms, which are present in AVC ISO files (.mov files with h264 video).
Original commit message from CVS: * 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
Diffstat (limited to 'gst/qtdemux/qtdemux_types.c')
-rw-r--r--gst/qtdemux/qtdemux_types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux_types.c b/gst/qtdemux/qtdemux_types.c
index a8bd5415..76813b06 100644
--- a/gst/qtdemux/qtdemux_types.c
+++ b/gst/qtdemux/qtdemux_types.c
@@ -107,6 +107,7 @@ static const QtNodeType qt_node_types[] = {
{FOURCC_rmda, "rmda", QT_FLAG_CONTAINER,},
{FOURCC_rdrf, "rdrf", 0,},
{FOURCC__gen, "Custom Genre", QT_FLAG_CONTAINER,},
+ {FOURCC_ctts, "Composition time to sample", 0, qtdemux_dump_ctts},
{0, "unknown", 0,},
};
static const int n_qt_node_types =