[MPlayer-cvslog] CVS: main/libmpdemux video.c,1.60,1.61
Roberto Togni CVS
syncmail at mplayerhq.hu
Sun Mar 26 16:10:55 CEST 2006
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv25150
Modified Files:
video.c
Log Message:
Fix a/v desync for real some files
Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- video.c 24 Mar 2006 08:12:02 -0000 1.60
+++ video.c 26 Mar 2006 14:10:52 -0000 1.61
@@ -597,7 +597,6 @@
// override frame_time for variable/unknown FPS formats:
if(!force_fps) switch(demuxer->file_format){
case DEMUXER_TYPE_GIF:
- case DEMUXER_TYPE_REAL:
case DEMUXER_TYPE_MATROSKA:
if(d_video->pts>0 && pts1>0 && d_video->pts>pts1)
frame_time=d_video->pts-pts1;
@@ -608,6 +607,7 @@
case DEMUXER_TYPE_MOV:
case DEMUXER_TYPE_FILM:
case DEMUXER_TYPE_VIVO:
+ case DEMUXER_TYPE_REAL:
case DEMUXER_TYPE_ASF: {
float next_pts = ds_get_next_pts(d_video);
float d= next_pts > 0 ? next_pts - d_video->pts : d_video->pts-pts1;
More information about the MPlayer-cvslog
mailing list