both timestamps are dts, (checked trailer.gxf, spec is unclear)
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Aug 2006 18:02:09 +0000 (18:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Aug 2006 18:02:09 +0000 (18:02 +0000)
Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/gxf.c

index 3cfce382531463eff81ae067cac649fb8ac3db96..f70e1f3c64a9f718fcefb033a74ee8786972cf45 100644 (file)
@@ -462,7 +462,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) {
         // 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;