diff options
author | 2006-07-01 12:06:43 +0000 | |
---|---|---|
committer | 2006-07-01 12:06:43 +0000 | |
commit | 381682bc97df92cd1802adcee06813bc45193a3f (patch) | |
tree | f7652a09c32c02a84abfecf70fd121cfc49299e9 /libmpdemux | |
parent | efd13273f97a50d7e1ca99855090c89f05c9bfa0 (diff) |
Fix A-V sync for real files (also live streams)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18878 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 7d89425c9a..6cca94fc7c 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -580,7 +580,6 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** 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 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** } } 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); |