From 9d0cb667dd07979d124362e462df0f745e948450 Mon Sep 17 00:00:00 2001 From: Pavlov Konstantin Date: Tue, 30 Oct 2007 01:31:49 +0000 Subject: [PATCH] Six hundred kiloby... i mean, 32 bytes should be enough to store mux info. Add mkv file extension as ffmpeg now can mux to Matroska. --- modules/stream_out/standard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c index 800f0d01c1..477537c605 100644 --- a/modules/stream_out/standard.c +++ b/modules/stream_out/standard.c @@ -181,7 +181,7 @@ static int Open( vlc_object_t *p_this ) if( psz_url && strrchr( psz_url, '.' ) ) { /* by extension */ - static struct { const char ext[6]; const char mux[16]; } exttomux[] = + static struct { const char ext[6]; const char mux[32]; } exttomux[] = { { "avi", "avi" }, { "ogg", "ogg" }, @@ -200,6 +200,7 @@ static int Open( vlc_object_t *p_this ) { "mpeg1","mpeg1" }, { "wav", "wav" }, { "flv", "ffmpeg{mux=flv}" }, + { "mkv", "ffmpeg{mux=matroska}"}, { "", "" } }; const char *psz_ext = strrchr( psz_url, '.' ) + 1; -- 2.39.5