Mercurial > mplayer.hg
changeset 7512:0df2e3079aa4
pass fourcc to lavc
author | michael |
---|---|
date | Thu, 26 Sep 2002 23:53:50 +0000 |
parents | a0dc7bb65578 |
children | cd2b939b2dfb |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Thu Sep 26 20:37:54 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Sep 26 23:53:50 2002 +0000 @@ -160,6 +160,9 @@ #if LIBAVCODEC_BUILD >= 4614 if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; #endif +#if LIBAVCODEC_BUILD >= 4628 + avctx->fourcc= sh->format; +#endif mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",avctx->width,avctx->height); if (sh->format == mmioFOURCC('R', 'V', '1', '3'))