[MPlayer-cvslog] r24940 - trunk/libmpdemux/video.c

nicodvb subversion at mplayerhq.hu
Sat Nov 3 00:05:51 CET 2007


Author: nicodvb
Date: Sat Nov  3 00:05:51 2007
New Revision: 24940

Log:
in video_read_frame() mark the keyframe flag in demuxer->video when dealing with VIDEO_MPEG12; fixed mpeg in avi seeking

Modified:
   trunk/libmpdemux/video.c

Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c	(original)
+++ trunk/libmpdemux/video.c	Sat Nov  3 00:05:51 2007
@@ -609,6 +609,8 @@ int video_read_frame(sh_video_t* sh_vide
 
     if(video_codec == VIDEO_MPEG12){
         sh_video->pts+=frame_time;
+        if(picture_coding_type==1)
+            d_video->flags |= 1;
         if(picture_coding_type<=2 && sh_video->i_pts){
             sh_video->pts=sh_video->i_pts;
             sh_video->i_pts=pts;



More information about the MPlayer-cvslog mailing list