mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 113 forks source link

Ignore EOF on do_flush #726

Closed OzFalcon closed 2 years ago

OzFalcon commented 2 years ago

Ignore the EOF warning when calling avcodec_receive_frame while do_flush is executing. An EOF warning ocures with animated gif/png & h264 (encoded as lossless) when next packet is NULL and do_flush is initiated. I suspect this is due to frames being stored rather than encoded and there are no more frames to retrieve in the pipeline after the NULL packet.

mickelson commented 2 years ago

thanks