diff options
author | Maciej Katafiasz <mathrick@mathrick.org> | 2004-12-28 17:09:06 +0000 |
---|---|---|
committer | Maciej Katafiasz <mathrick@mathrick.org> | 2004-12-28 17:09:06 +0000 |
commit | df19ded4066e2cebf4c2775dd0169b23095a4056 (patch) | |
tree | 284f5abdb8cd470be96816e873bbb2acc11c42e9 | |
parent | 6a25ab5bd4ae028481f5f119fb96c72b0892bcd9 (diff) |
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)...
-rw-r--r-- | gst/matroska/matroska-demux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 7ba846bd..c816665c 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 |