summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-27 11:31:53 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-27 11:31:53 +0000
commita5f69284d90323fc865e18033b6a22c11707fe20 (patch)
tree52b9ce98a17af66fa09a3d0bc8a55db1ed77fde5 /libmpdemux
parentb5ddaf20bae3d5d86951256502702910e44de207 (diff)
downloadmpv-a5f69284d90323fc865e18033b6a22c11707fe20.tar.bz2
mpv-a5f69284d90323fc865e18033b6a22c11707fe20.tar.xz
handle the lavfpref demuxer in the same way as the lavf one
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 0e7dfe618c..1faf077840 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -587,6 +587,7 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char**
}
break;
case DEMUXER_TYPE_LAVF:
+ case DEMUXER_TYPE_LAVF_PREFERRED:
if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){
double next_pts = ds_get_next_pts(d_video);
double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1;