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)...
This commit is contained in:
Maciej Katafiasz 2004-12-28 17:09:06 +00:00
parent 6a25ab5bd4
commit df19ded406

View 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