[Mplayer-cvslog] CVS: main/libmpdemux video.c,1.45,1.46

Michael Niedermayer CVS syncmail at mplayerhq.hu
Sun Apr 11 21:03:14 CEST 2004


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv4796/libmpdemux

Modified Files:
	video.c 
Log Message:
lavf ASF support


Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- video.c	23 Jan 2004 01:10:14 -0000	1.45
+++ video.c	11 Apr 2004 19:03:12 -0000	1.46
@@ -482,6 +482,15 @@
         }
       }
       break;
+      case DEMUXER_TYPE_LAVF:
+        if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){
+          float next_pts = ds_get_next_pts(d_video);
+          float d= next_pts > 0 ? next_pts - d_video->pts : d_video->pts-pts1;
+          if(d>=0){
+            frame_time = d;
+          } 
+        }
+      break;
     }
     
     if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS ||




More information about the MPlayer-cvslog mailing list