Commit 9d0cb667 authored by Pavlov Konstantin's avatar Pavlov Konstantin

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.
parent a7ed7a9e
...@@ -181,7 +181,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -181,7 +181,7 @@ static int Open( vlc_object_t *p_this )
if( psz_url && strrchr( psz_url, '.' ) ) if( psz_url && strrchr( psz_url, '.' ) )
{ {
/* by extension */ /* 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" }, { "avi", "avi" },
{ "ogg", "ogg" }, { "ogg", "ogg" },
...@@ -200,6 +200,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -200,6 +200,7 @@ static int Open( vlc_object_t *p_this )
{ "mpeg1","mpeg1" }, { "mpeg1","mpeg1" },
{ "wav", "wav" }, { "wav", "wav" },
{ "flv", "ffmpeg{mux=flv}" }, { "flv", "ffmpeg{mux=flv}" },
{ "mkv", "ffmpeg{mux=matroska}"},
{ "", "" } { "", "" }
}; };
const char *psz_ext = strrchr( psz_url, '.' ) + 1; const char *psz_ext = strrchr( psz_url, '.' ) + 1;
......
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