[Mplayer-cvslog] CVS: main/libmpdemux demux_fli.c,1.3,1.4

Alex Beregszaszi alex at mplayer.dev.hu
Fri Nov 30 18:11:32 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv28985

Modified Files:
	demux_fli.c 
Log Message:
pts support

Index: demux_fli.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_fli.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- demux_fli.c	25 Nov 2001 01:48:55 -0000	1.3
+++ demux_fli.c	30 Nov 2001 17:11:30 -0000	1.4
@@ -27,6 +27,7 @@
 //     1 = successfully read a packet
 int demux_fli_fill_buffer(demuxer_t *demuxer){
   fli_frames_t *frames = (fli_frames_t *)demuxer->priv;
+  sh_video_t *sh_video = demuxer->video->sh;
 
   // see if the end has been reached
   if (frames->current_frame == frames->num_frames)
@@ -39,9 +40,9 @@
   ds_read_packet(demuxer->video,
     demuxer->stream, 
     frames->frame_size[frames->current_frame],
-    0, /* not sure what pts is for */
+    frames->current_frame/sh_video->fps,
     frames->filepos[frames->current_frame],
-    0 /* what flags? */
+    0 /* what flags? -> demuxer.h (alex) */
   );
 
   // get the next frame ready




More information about the MPlayer-cvslog mailing list