[FFmpeg-devel] [PATCH] Add WebM to the Matroska demuxer name

Baptiste Coudurier baptiste.coudurier
Thu Jul 15 20:39:57 CEST 2010


On 07/14/2010 10:58 PM, Alex Converse wrote:
> $subj
>
> Some users are getting confused. We do a similar thing for
> "mov,mp4,m4a,3gp,3g2,mj2."
>
> Regards,
> Alex Converse
>
>
> webm-name.diff
>
>
> Index: libavformat/matroskadec.c
> ===================================================================
> --- libavformat/matroskadec.c	(revision 24242)
> +++ libavformat/matroskadec.c	(working copy)
> @@ -1899,8 +1899,8 @@
>   }
>
>   AVInputFormat matroska_demuxer = {
> -    "matroska",
> -    NULL_IF_CONFIG_SMALL("Matroska file format"),
> +    "matroska,webm",
> +    NULL_IF_CONFIG_SMALL("Matroska/WebM file format"),
>       sizeof(MatroskaDemuxContext),
>       matroska_probe,
>       matroska_read_header,

Patch looks perfectly fine to me.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list