changeset 3047:3c374f48768d libavformat

It appears last_pts was not set ...
author michael
date Fri, 15 Feb 2008 13:21:00 +0000
parents c12367fe98ad
children a100291d922c
files nutenc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nutenc.c	Fri Feb 15 02:57:19 2008 +0000
+++ b/nutenc.c	Fri Feb 15 13:21:00 2008 +0000
@@ -727,6 +727,7 @@
 
     put_buffer(bc, pkt->data + nut->header_len[header_idx], pkt->size - nut->header_len[header_idx]);
     nus->last_flags= flags;
+    nus->last_pts= pkt->pts;
 
     //FIXME just store one per syncpoint
     if(flags & FLAG_KEY)