Commit 272dcbf2 authored by Denis Charmet's avatar Denis Charmet Committed by Jean-Baptiste Kempf

MKV: Set default value for audio tracks when parsing one

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e1eb842b
......@@ -233,6 +233,8 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
case track_audio:
psz_type = "audio";
tk->fmt.i_cat = AUDIO_ES;
tk->fmt.audio.i_channels = 1;
tk->fmt.audio.i_rate = 8000;
break;
case track_video:
psz_type = "video";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment