From 5c446dc4f5631d6c4878839ea7815e86cb074060 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 15 Nov 2006 12:08:20 +0000 Subject: gst/matroska/matroska-mux.*: Add basic tag writing support; implement releasing pads (#374658). Original commit message from CVS: Patch by: Mark Nauwelaerts * gst/matroska/matroska-mux.c: (gst_matroska_mux_add_interfaces), (gst_matroska_mux_class_init), (gst_matroska_pad_free), (gst_matroska_mux_reset), (gst_matroska_mux_handle_sink_event), (gst_matroska_mux_request_new_pad), (gst_matroska_mux_release_pad), (gst_matroska_mux_track_header), (gst_matroska_mux_start), (gst_matroska_mux_write_simple_tag), (gst_matroska_mux_finish): * gst/matroska/matroska-mux.h: Add basic tag writing support; implement releasing pads (#374658). --- gst/matroska/matroska-mux.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gst/matroska/matroska-mux.h') diff --git a/gst/matroska/matroska-mux.h b/gst/matroska/matroska-mux.h index 8c1229c3..39ce63b1 100644 --- a/gst/matroska/matroska-mux.h +++ b/gst/matroska/matroska-mux.h @@ -86,6 +86,7 @@ typedef struct _GstMatroskaMux { /* pads */ GstPad *srcpad; GstCollectPads *collect; + GstPadEventFunction collect_event; GstEbmlWrite *ebml_write; guint num_streams, @@ -114,7 +115,7 @@ typedef struct _GstMatroskaMux { guint64 segment_pos, seekhead_pos, cues_pos, - /* tags_pos, */ + tags_pos, info_pos, tracks_pos, duration_pos, @@ -129,6 +130,9 @@ typedef struct _GstMatroskaMux { /* meta-seek info */ GstMatroskaMetaSeekIndex *meta_index; guint num_meta_indexes; + + /* tags */ + GstTagList *tags; } GstMatroskaMux; typedef struct _GstMatroskaMuxClass { -- cgit