1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00

Make vd_ffmpeg work with lavf demuxer also for RealVideo.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24543 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-16 11:52:05 +00:00
parent 455de9ca05
commit ca7b84e869

View File

@ -754,7 +754,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
// if(sh->ds->demuxer->type == DEMUXER_TYPE_REAL){
if(sh->ds->demuxer->type != DEMUXER_TYPE_LAVF)
if( sh->format == mmioFOURCC('R', 'V', '1', '0')
|| sh->format == mmioFOURCC('R', 'V', '1', '3')
|| sh->format == mmioFOURCC('R', 'V', '2', '0')