[MPlayer-cvslog] r30109 - trunk/libmpdemux/extension.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Dec 25 00:59:42 CET 2009


On Thu, Dec 24, 2009 at 07:20:04PM +0100, compn wrote:
> Author: compn
> Date: Thu Dec 24 19:20:03 2009
> New Revision: 30109
> 
> Log:
> force cdg to lavf demuxer in extensions.c, misdetected as mpeg otherwise
> 
> Modified:
>    trunk/libmpdemux/extension.c
> 
> Modified: trunk/libmpdemux/extension.c
> ==============================================================================
> --- trunk/libmpdemux/extension.c	Thu Dec 24 11:56:25 2009	(r30108)
> +++ trunk/libmpdemux/extension.c	Thu Dec 24 19:20:03 2009	(r30109)
> @@ -81,6 +81,7 @@ static struct {
>          { "eac3",DEMUXER_TYPE_LAVF },
>          { "mac", DEMUXER_TYPE_LAVF },
>          { "str", DEMUXER_TYPE_LAVF },
> +        { "cdg", DEMUXER_TYPE_LAVF },

You should only use this as a very last resort.
For example adding this format to lavf_preferred in demux_lavf is a
better solution.
This assumes of course that the auto-detection in lavf is reliable -
if you have FFmpeg SVN at hand, check if it passes tools/probetest.


More information about the MPlayer-cvslog mailing list