From df19ded4066e2cebf4c2775dd0169b23095a4056 Mon Sep 17 00:00:00 2001 From: Maciej Katafiasz Date: Tue, 28 Dec 2004 17:09:06 +0000 Subject: [PATCH] Remove time-based check for first vorbis packet altogether, as it was a hack since day one (Arwed who wrote it says s... Original commit message from CVS: Remove time-based check for first vorbis packet altogether, as it was a hack since day one (Arwed who wrote it says so)... --- gst/matroska/matroska-demux.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 7ba846bdca..c816665ce3 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -1891,9 +1891,7 @@ gst_matroska_demux_parse_blockgroup (GstMatroskaDemux * demux, break; } - if (((cluster_time + time == 0) || - ((GstMatroskaTrackAudioContext *) demux->src[stream])-> - first_frame) + if (((GstMatroskaTrackAudioContext *) demux->src[stream])->first_frame && (!strcmp (demux->src[stream]->codec_id, GST_MATROSKA_CODEC_ID_AUDIO_VORBIS))) { /* start of the stream and vorbis audio, need to send the codec_priv