On Mon, Sep 25, 2017 at 3:31 AM, Aman Gupta <ffm...@tmm1.net> wrote: > > How do the other hwaccels handle mid-stream SPS changes? >
Real HWAccels (ie. VAAPI, VDPAU or DXVA) communicate the SPS/PPS content for every frame, they don't keep a persistent state internally - that way the only "state" is the frame size and pixel format, and when those change get_format is called and the hwaccel re-initialized. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel