[Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.66,1.67

Tobias Diedrich CVS syncmail at mplayerhq.hu
Wed Mar 17 04:53:04 CET 2004


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv7867

Modified Files:
	tv.c 
Log Message:
Raw audio and video are always keyframes

Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- tv.c	22 Feb 2004 15:21:44 -0000	1.66
+++ tv.c	17 Mar 2004 03:53:02 -0000	1.67
@@ -103,6 +103,7 @@
         len = tvh->functions->get_audio_framesize(tvh->priv);
 
         dp=new_demux_packet(len);
+        dp->flags|=1; /* Keyframe */
         dp->pts=tvh->functions->grab_audio_frame(tvh->priv, dp->buffer,len);
         ds_add_packet(demux->audio,dp);
         }
@@ -114,6 +115,7 @@
         {
 		len = tvh->functions->get_video_framesize(tvh->priv);
        	dp=new_demux_packet(len);
+		dp->flags|=1; /* Keyframe */
   		dp->pts=tvh->functions->grab_video_frame(tvh->priv, dp->buffer, len);
    		ds_add_packet(demux->video,dp);
 	 }




More information about the MPlayer-cvslog mailing list