diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-26 14:10:52 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-26 14:10:52 +0000 |
commit | c59ca7db226e770bde1d2d6cd4df7a246c2c5f01 (patch) | |
tree | 07067c29c09800299537c1810046352a52fb78eb /libmpdemux | |
parent | 73b6c0eff211f0bccc3c073314b21533e7ea2f6f (diff) |
Fix a/v desync for real some files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17961 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c index 499bf4ab9a..5d4b62ce2a 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -597,7 +597,6 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** // 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 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** 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; |