mirror of
https://github.com/mpv-player/mpv
synced 2024-08-28 05:46:13 +02:00
pass fourcc to lavc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7513 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
944d42db69
commit
58bedbff1f
@ -160,6 +160,9 @@ static int init(sh_video_t *sh){
|
||||
#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'))
|
||||
|
Loading…
Reference in New Issue
Block a user