On Fri, May 03, 2019 at 23:47:47 -0300, James Almer wrote: > The flush() callback exists to reset the bsf into its initial state > without the need to destroy and recreate the context. > For example, some decoders auto-insert certain bitstream filters that [...] > avcodec_flush_buffers(), which must be called every time seeking needs > to be done in a decoding scenario, flushes both the decoder and said > bitstream filters.
Thanks for the explanation! > I guess the simplest way would be to auto insert this bsf into some > decoder (AVCodec.bsfs string), then seek using some libavcodec based > application that doesn't already decodes at realtime. It doesn't sound simple, but I'll try to construct a test and fix the code. Meanwhile, this version of the patch is withdrawn. Thanks, Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".