[FFmpeg-devel] [PATCH]Allow MPEG4 VDPAU decoding
Carl Eugen Hoyos
cehoyos
Fri Nov 6 23:00:37 CET 2009
On Friday 06 November 2009 14:40:04 Michael Niedermayer wrote:
> > + if (CONFIG_MPEG4_VDPAU_DECODER && (s->avctx->codec->capabilities
> > & CODEC_CAP_HWACCEL_VDPAU))
> > + avctx->codec->pix_fmts = (enum
> > PixelFormat[]){PIX_FMT_VDPAU_MPEG4, PIX_FMT_NONE}; break;
> > case CODEC_ID_MSMPEG4V1:
> > s->h263_msmpeg4 = 1;
>
> you cant do that, avctx->codec is shared amongth all instances of mpeg4
> decoders
Hopefully improved.
New patch attached, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchvdpaumpeg4.diff
Type: text/x-diff
Size: 8017 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091106/cd3ef455/attachment.diff>
More information about the ffmpeg-devel
mailing list