diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-11-27 16:26:39 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-11-27 16:26:39 +0000 |
commit | a926db34ad8b983c95ef72ed9a5cb884c55430d1 (patch) | |
tree | 2b47b510a32a870e75251a402c4d231f3d11daec /gst/mxf/mxftypes.h | |
parent | 9e6654352e1e92664efad60f9a951cc2dd3c2a8a (diff) | |
download | gst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.tar.gz gst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.tar.bz2 gst-plugins-bad-a926db34ad8b983c95ef72ed9a5cb884c55430d1.zip |
gst/mxf/: Implement parsing of the random index pack, which provides a seek table (including body sid) to the start o...
Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_random_index_pack),
(gst_mxf_demux_pull_random_index_pack), (gst_mxf_demux_loop):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c: (mxf_random_index_pack_parse):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of the random index pack, which provides a seek
table (including body sid) to the start of partition packs.
Later this will be used for reading all index table segments of
the complete file efficiently.
Diffstat (limited to 'gst/mxf/mxftypes.h')
-rw-r--r-- | gst/mxf/mxftypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/mxf/mxftypes.h b/gst/mxf/mxftypes.h index 6fd15fae..f6ca345e 100644 --- a/gst/mxf/mxftypes.h +++ b/gst/mxf/mxftypes.h @@ -63,6 +63,12 @@ typedef struct { guint8 *data; } MXFLocalTag; +/* SMPTE 377M 11.1 */ +typedef struct { + guint32 body_sid; + guint64 offset; +} MXFRandomIndexPackEntry; + typedef enum { MXF_PARTITION_PACK_HEADER, MXF_PARTITION_PACK_BODY, |