From 910d75ddaf2b37caa01bd202cf9d9a338014a24b Mon Sep 17 00:00:00 2001 From: Steven Hoving Date: Thu, 7 Jan 2016 18:20:30 +0200 Subject: [PATCH] matroska: Store subtitle stream count in the correct variable And don't override the video stream count instead. --- gst/matroska/matroska-read-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index 691d4629a6..558c1ce331 100644 --- a/gst/matroska/matroska-read-common.c +++ b/gst/matroska/matroska-read-common.c @@ -2194,7 +2194,7 @@ gst_matroska_read_common_count_streams (GstMatroskaReadCommon * common, } *v = video_streams; *a = audio_streams; - *v = subtitle_streams; + *s = subtitle_streams; }