aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-08 18:02:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-08 18:02:09 +0000
commitb9b18fbdeaa364e160c5f1df164befa3dde6e833 (patch)
treeddb429760fc77c0a2b9e0a6618a3957a90436428 /libavformat/gxf.c
parent21bb884fb7f9f3328fb85b58c9923e0731c48ff4 (diff)
downloadffmpeg-b9b18fbdeaa364e160c5f1df164befa3dde6e833.tar.gz
both timestamps are dts, (checked trailer.gxf, spec is unclear)
Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index 3cfce38253..f70e1f3c64 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -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;