changeset 4705:f6d45a3f005c

mpeg-es osd fix - patch by ??? (lost mail:((()
author arpi
date Thu, 14 Feb 2002 22:15:53 +0000
parents 1e936c3cc3fa
children a4400910be9f
files libmpdemux/video.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/video.c	Thu Feb 14 22:14:19 2002 +0000
+++ b/libmpdemux/video.c	Thu Feb 14 22:15:53 2002 +0000
@@ -289,7 +289,8 @@
 	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;