[MPlayer-cvslog] r18878 - trunk/libmpdemux/video.c
rtogni
subversion at mplayerhq.hu
Sat Jul 1 14:06:43 CEST 2006
Author: rtogni
Date: Sat Jul 1 14:06:43 2006
New Revision: 18878
Modified:
trunk/libmpdemux/video.c
Log:
Fix A-V sync for real files (also live streams)
Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c (original)
+++ trunk/libmpdemux/video.c Sat Jul 1 14:06:43 2006
@@ -580,7 +580,6 @@
case DEMUXER_TYPE_FILM:
case DEMUXER_TYPE_VIVO:
case DEMUXER_TYPE_OGG:
- 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;
@@ -599,6 +598,7 @@
}
}
break;
+ case DEMUXER_TYPE_REAL:
case DEMUXER_TYPE_LAVF:
if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){
float next_pts = ds_get_next_pts(d_video);
More information about the MPlayer-cvslog
mailing list