1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

both timestamps are dts, (checked trailer.gxf, spec is unclear)

Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2006-08-08 18:02:09 +00:00
parent 21bb884fb7
commit b9b18fbdea

View 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;