diff options
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/video.c | 1 |
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; |