changeset 24523:72d1de1a3f04

Make vd_ffmpeg work with lavf demuxer also for RealVideo.
author reimar
date Sun, 16 Sep 2007 11:52:05 +0000
parents 89bae6fd11fe
children 495df07f8cbe
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Sep 16 09:16:45 2007 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Sep 16 11:52:05 2007 +0000
@@ -754,7 +754,7 @@
 
     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')