[MPlayer-dev-eng] [PATCH] dxa in mplayer

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Mar 17 21:25:37 CET 2007


Hello,
On Sat, Mar 17, 2007 at 04:02:43PM -0400, Compn wrote:
> http://samples.mplayerhq.hu/game-formats/dxa/
> 
> but now i have to force -vc +ffdxa . any idea how to get
> mplayer to use ffdxa on these files? (there is no fourcc)
> 
> -compn

> Index: extension.c
> ===================================================================
> --- extension.c	(revision 22703)
> +++ extension.c	(working copy)
> @@ -35,6 +35,7 @@
>          { "rm", DEMUXER_TYPE_REAL },
>          { "rmvb", DEMUXER_TYPE_REAL },
>          { "ra", DEMUXER_TYPE_REAL },
> +        { "dxa", DEMUXER_TYPE_LAVF },
>          { "y4m", DEMUXER_TYPE_Y4M },
>          { "mp3", DEMUXER_TYPE_AUDIO },
>          { "wav", DEMUXER_TYPE_AUDIO },

Please move those extensions that are currently required due to demuxer
bugs in some extra and appropriately commented part of that array.
About the other problem see attached patch.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpdemux/demux_lavf.c
===================================================================
--- libmpdemux/demux_lavf.c	(revision 22706)
+++ libmpdemux/demux_lavf.c	(working copy)
@@ -101,6 +101,7 @@
     { CODEC_ID_VMDVIDEO,          MKTAG('V', 'M', 'D', 'V')},
     { CODEC_ID_WS_VQA,            MKTAG('V', 'Q', 'A', 'V')},
     { CODEC_ID_XAN_WC3,           MKTAG('W', 'C', '3', 'V')},
+    { CODEC_ID_DXA,               MKTAG('D', 'X', 'A', '1')},
     { 0, 0 },
 };
 


More information about the MPlayer-dev-eng mailing list