On Tue, 23 Jun 2009 05:20:22 -0400, Chris <[email protected]> wrote:
So my question is, is there a way to reset the decoder without
destroying and re-instantiating it? I've tried passing in "00 00 00 01
2A 00 00 00 01" when switching streams in an attempt to force "end of
sequence" but it hasn't worked. Any bright ideas?


avcodec.h line 3359

  /**
* Flush buffers, should be called when seeking or when switching to a different stream.
   */
  void avcodec_flush_buffers(AVCodecContext *avctx);

--
Michael Conrad
IntelliTree Solutions llc.
513-552-6362
[email protected]
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to