[MPlayer-cvslog] r22450 - trunk/libmpdemux/demux_avs.c

reimar subversion at mplayerhq.hu
Sun Mar 4 16:02:53 CET 2007


Author: reimar
Date: Sun Mar  4 16:02:53 2007
New Revision: 22450

Modified:
   trunk/libmpdemux/demux_avs.c

Log:
Set pts also for audio packets

Modified: trunk/libmpdemux/demux_avs.c
==============================================================================
--- trunk/libmpdemux/demux_avs.c	(original)
+++ trunk/libmpdemux/demux_avs.c	Sun Mar  4 16:02:53 2007
@@ -217,6 +217,7 @@ static int demux_avs_fill_buffer(demuxer
             return 0;
         }
         dp = new_demux_packet(l);
+        dp->pts = AVS->sampleno / sh_audio->samplerate;
         
         if (AVS->avs_get_audio(AVS->clip, dp->buffer, AVS->sampleno, samples))
         {



More information about the MPlayer-cvslog mailing list