summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/matroska/matroska-demux.c4
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