[FFmpeg-devel] [Ffmpeg-devel] [PATCH] Debug help for file position
Benoit Fouet
benoit.fouet
Wed May 2 10:02:49 CEST 2007
Michael Niedermayer wrote:
> Hi
>
> On Mon, Apr 30, 2007 at 05:42:06PM -0700, Daniel Cardenas wrote:
>
>> In utils.c, function av_read_frame_internal, the position offset in the
>> file is not passed along in the packet. This one line change helps with
>> that issue. Helpful when debugging issues with file based content. Its
>> not a perfect fix. Not sure how the packet/buffer management works so the
>> position isn't quite right, but close. If you guys like this patch, then
>> perhaps I'll figure out the perfect fix and submit that. Again, this just
>> helps with debug.
>>
>
> iam fine with the patch if it doesnt break regression tests
>
> [...]
>
it breaks seek tests, but regression tests are ok
outputs lots of things like:
-ret: 0 st: 1 dts:3.100000 pts:3.100000 pos:29375 size:208 flags:1
+ret: 0 st: 1 dts:3.100000 pts:3.100000 pos:-1 size:208 flags:1
Ben
--
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-devel
mailing list