diff options
author | David Schleef <ds@schleef.org> | 2009-02-06 16:16:05 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2009-02-06 16:21:58 -0800 |
commit | 40bd3772306e1b6942c11d0aa40c3c31b1444e17 (patch) | |
tree | ca6b589888c85ae3264521e7be31cfd339d7f54a /gst/qtdemux/qtdemux_types.c | |
parent | db0b8755e00bbdeed3882ad0e891462ff8b3f9b6 (diff) |
qtdemux: Add handling for stps atoms
stps atoms contain "partial sync" information, which means that it's
a sync point where pts != dts. This is needed to properly handle
MPEG2, H.264, Dirac, etc., in quicktime.
Diffstat (limited to 'gst/qtdemux/qtdemux_types.c')
-rw-r--r-- | gst/qtdemux/qtdemux_types.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux_types.c b/gst/qtdemux/qtdemux_types.c index d5bcf1bd..357fee54 100644 --- a/gst/qtdemux/qtdemux_types.c +++ b/gst/qtdemux/qtdemux_types.c @@ -61,6 +61,8 @@ static const QtNodeType qt_node_types[] = { qtdemux_dump_stsd}, {FOURCC_stts, "time-to-sample", 0, qtdemux_dump_stts}, + {FOURCC_stps, "partial sync sample", 0, + qtdemux_dump_stps}, {FOURCC_stss, "sync sample", 0, qtdemux_dump_stss}, {FOURCC_stsc, "sample-to-chunk", 0, |