changeset 22432:7b9edf61170a

Set pts also for audio packets
author reimar
date Sun, 04 Mar 2007 15:02:53 +0000
parents 0cf22436ef75
children d4faccf8bcd7
files libmpdemux/demux_avs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_avs.c	Sun Mar 04 14:59:23 2007 +0000
+++ b/libmpdemux/demux_avs.c	Sun Mar 04 15:02:53 2007 +0000
@@ -217,6 +217,7 @@
             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))
         {