From da34723a6bf9b305d69cf23215ad20d7747cbdb9 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 25 Apr 2006 16:38:50 +0000 Subject: gst/matroska/: Handle case where the TrackType ebml chunk does not come before the Original commit message from CVS: * gst/matroska/Makefile.am: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_handle_src_event): * gst/matroska/matroska-ids.c: (gst_matroska_track_init_video_context), (gst_matroska_track_init_audio_context), (gst_matroska_track_init_subtitle_context), (gst_matroska_track_init_complex_context): * gst/matroska/matroska-ids.h: Handle case where the TrackType ebml chunk does not come before the TrackInfoAudio or TrackInfoVideo ebml chunk (#339446). Ignore QoS events. --- gst/matroska/matroska-ids.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gst/matroska/matroska-ids.h') diff --git a/gst/matroska/matroska-ids.h b/gst/matroska/matroska-ids.h index c8c6d371..4a00ba1b 100644 --- a/gst/matroska/matroska-ids.h +++ b/gst/matroska/matroska-ids.h @@ -22,6 +22,8 @@ #ifndef __GST_MATROSKA_IDS_H__ #define __GST_MATROSKA_IDS_H__ +#include + #include "ebml-ids.h" /* @@ -299,4 +301,9 @@ typedef struct _Wavpack4Header { guint32 crc; /* crc for actual decoded data */ } Wavpack4Header; +gboolean gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context); +gboolean gst_matroska_track_init_audio_context (GstMatroskaTrackContext ** p_context); +gboolean gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context); +gboolean gst_matroska_track_init_complex_context (GstMatroskaTrackContext ** p_context); + #endif /* __GST_MATROSKA_IDS_H__ */ -- cgit