Automatically choose ffmpeg{mux=flv} if dst ends in ".flv"
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 18 Feb 2007 00:11:11 +0000 (00:11 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 18 Feb 2007 00:11:11 +0000 (00:11 +0000)
modules/stream_out/standard.c

index 1768cc3..04d1a60 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * standard.c: standard stream output module
  *****************************************************************************
- * Copyright (C) 2003-2004 the VideoLAN team
+ * Copyright (C) 2003-2007 the VideoLAN team
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
@@ -203,6 +203,7 @@ static int Open( vlc_object_t *p_this )
             { "ps",  "ps" },
             { "mpeg1","mpeg1" },
             { "wav","wav" },
+            { "flv", "ffmpeg{mux=flv}" },
             { NULL,  NULL }
         };
         const char *psz_ext = strrchr( psz_url, '.' ) + 1;