changeset 19212:6b8bbb271594

set pts of the demux patcket correctly
author reimar
date Fri, 28 Jul 2006 14:44:11 +0000
parents f6be1a409147
children 606d2f7cd307
files libmpdemux/demux_avs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_avs.c	Fri Jul 28 14:37:41 2006 +0000
+++ b/libmpdemux/demux_avs.c	Fri Jul 28 14:44:11 2006 +0000
@@ -189,7 +189,7 @@
         sh_video->num_frames_decoded++;
         sh_video->num_frames++;
 
-        d_video->pts=AVS->frameno / sh_video->fps; // OSD
+        dp->pts=AVS->frameno / sh_video->fps;
 
         memcpy(dp->buffer, curr_frame->vfb->data + curr_frame->offset, curr_frame->vfb->data_size);
         ds_add_packet(demuxer->video, dp);