Remove time-based check for first vorbis packet altogether, as it was a hack since...
authorMaciej Katafiasz <mathrick@mathrick.org>
Tue, 28 Dec 2004 17:09:06 +0000 (17:09 +0000)
committerMaciej Katafiasz <mathrick@mathrick.org>
Tue, 28 Dec 2004 17:09:06 +0000 (17:09 +0000)
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

index 7ba846bdca092d038b048cf0cbc378f11b1f5d69..c816665ce33614f5174f7cec84121c8038cf12e1 100644 (file)
@@ -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