diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-14 22:15:53 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-14 22:15:53 +0000 |
commit | 9ed129527a3c4ce9ef5b28631979e6444dd31b05 (patch) | |
tree | c911ea223d847c3e3d46c125708d1591647b7f0c | |
parent | c5bfa1c138353c312a095c73bda893cef2b29a6f (diff) |
mpeg-es osd fix - patch by ??? (lost mail:((()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4706 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c index 65f8c5b35e..91253a80a1 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -289,7 +289,8 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** mp_msg(MSGT_CPLAYER,MSGL_V,"vivo frame_time=%5.3f \n",frame_time); } - if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS) d_video->pts+=frame_time; + if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS || + demuxer->file_format==DEMUXER_TYPE_MPEG_ES) d_video->pts+=frame_time; if(frame_time_ptr) *frame_time_ptr=frame_time; return in_size; |