changeset 1243:088e77e1d06f libavformat

both timestamps are dts, (checked trailer.gxf, spec is unclear)
author michael
date Tue, 08 Aug 2006 18:02:09 +0000
parents 996ce2a68147
children 1a14fff172ca
files gxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gxf.c	Tue Aug 08 10:24:26 2006 +0000
+++ b/gxf.c	Tue Aug 08 18:02:09 2006 +0000
@@ -462,7 +462,7 @@
         // as well.
         ret = av_get_packet(pb, pkt, pkt_len);
         pkt->stream_index = get_sindex(s, track_id, track_type);
-        pkt->pts = field_nr;
+        pkt->dts = field_nr;
         return ret;
     }
     return AVERROR_IO;