comparison libmpcodecs/vd_ffmpeg.c @ 24523:72d1de1a3f04

Make vd_ffmpeg work with lavf demuxer also for RealVideo.
author reimar
date Sun, 16 Sep 2007 11:52:05 +0000
parents 575d7b1fdf82
children ed5edb202ec2
comparison
equal deleted inserted replaced
24522:89bae6fd11fe 24523:72d1de1a3f04
752 } 752 }
753 } 753 }
754 754
755 avctx->hurry_up=(flags&3)?((flags&2)?2:1):0; 755 avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
756 756
757 // if(sh->ds->demuxer->type == DEMUXER_TYPE_REAL){ 757 if(sh->ds->demuxer->type != DEMUXER_TYPE_LAVF)
758 if( sh->format == mmioFOURCC('R', 'V', '1', '0') 758 if( sh->format == mmioFOURCC('R', 'V', '1', '0')
759 || sh->format == mmioFOURCC('R', 'V', '1', '3') 759 || sh->format == mmioFOURCC('R', 'V', '1', '3')
760 || sh->format == mmioFOURCC('R', 'V', '2', '0') 760 || sh->format == mmioFOURCC('R', 'V', '2', '0')
761 || sh->format == mmioFOURCC('R', 'V', '3', '0') 761 || sh->format == mmioFOURCC('R', 'V', '3', '0')
762 || sh->format == mmioFOURCC('R', 'V', '4', '0')) 762 || sh->format == mmioFOURCC('R', 'V', '4', '0'))