diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-16 10:59:39 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-16 10:59:39 +0000 |
commit | 8c6d2c506a102109339347e039cb38a2047fef40 (patch) | |
tree | 852b6550c4685a3b072955c58f39e7d666926203 /gst/matroska/matroska-ids.h | |
parent | 4710c0ab85cf8dba4c77b9659af2f38ee8a880cd (diff) |
gst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as image and otherwise as GST_TAG_ATT...
Original commit message from CVS:
* gst/matroska/Makefile.am:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.c: (gst_matroska_register_tags):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska.c: (plugin_init):
Parse Attachments and post them as GST_TAG_IMAGE if we detect
it as image and otherwise as GST_TAG_ATTACHMENT. Include filename
and description of the attachments in the caps. Fixes bug #537622.
Diffstat (limited to 'gst/matroska/matroska-ids.h')
-rw-r--r-- | gst/matroska/matroska-ids.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h index 8c83d1aa..987cbbba 100644 --- a/gst/matroska/matroska-ids.h +++ b/gst/matroska/matroska-ids.h @@ -563,4 +563,12 @@ gboolean gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_ gboolean gst_matroska_track_init_audio_context (GstMatroskaTrackContext ** p_context); gboolean gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context); + +/* FIXME: remove when we depend on core 0.10.21 */ +#ifndef GST_TAG_ATTACHMENT +#define GST_TAG_ATTACHMENT "attachment" +#endif + +void gst_matroska_register_tags (void); + #endif /* __GST_MATROSKA_IDS_H__ */ |