avformat: better seperation between time and byte seek operations.
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 17 Jun 2009 20:44:28 +0000 (22:44 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 17 Jun 2009 20:44:28 +0000 (22:44 +0200)
commit7d91581a9beeda493919b3cb50ec89e192e86392
tree040fa6d282b18b7fb577960a86b871e82120f05a
parente1abfdca81e985dbabb843200806dc0daddd035f
avformat: better seperation between time and byte seek operations.

It seems that avformat does not recover from a byteseek when it does not know a duration for the file. It continiously spits out data with pts values of AV_NOPTS_VALUE after the seek.

Tested with mxf_original_NOB_format.mxf
modules/demux/avformat/demux.c