Skip to content
Snippets Groups Projects
Commit b9b18fbd authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 21bb884f
No related branches found
No related tags found
No related merge requests found
...@@ -462,7 +462,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) { ...@@ -462,7 +462,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) {
// as well. // as well.
ret = av_get_packet(pb, pkt, pkt_len); ret = av_get_packet(pb, pkt, pkt_len);
pkt->stream_index = get_sindex(s, track_id, track_type); pkt->stream_index = get_sindex(s, track_id, track_type);
pkt->pts = field_nr; pkt->dts = field_nr;
return ret; return ret;
} }
return AVERROR_IO; return AVERROR_IO;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment