[MPlayer-dev-eng] [PATCH] fix 4xm playback (bugzilla 882)

Michael Niedermayer michaelni at gmx.at
Sun Aug 26 21:38:12 CEST 2007


Hi

On Sun, Aug 26, 2007 at 12:05:55AM +0200, Roberto Togni wrote:
> Hi all,
>  this patch fixes the regression to 4xm playback after the latest
> changes to ffmpeg.
> 
> FFmpeg now passes some data from 4xm lavf demuxer to 4xv lavc video
> decoder using codec_tag. Since MPlayer does not always pass codec_tag
> unchanged from demuxer to video decoder, the decoding fails even after
> fixing the usual codec_id<->fourcc matching.
> 
> The patch move the data from codec_tag to extradata in demuxer_lavf,
> and then writes it again to codec_tag in vd_ffmpeg.
> This should also allow streamcopy to a different container (untested).
> 
> 
> A better fix probably would be changing ffmpeg so that
> is uses extradata to pass codec version for 4xm. 

yes patch welcome

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070826/76e9051f/attachment.pgp>


More information about the MPlayer-dev-eng mailing list