[FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization
cus at passwd.hu
Tue Jun 12 00:31:12 EEST 2018
On Mon, 11 Jun 2018, Carl Eugen Hoyos wrote:
> Attached patch fixes a crash if SDL sends a keydown event before
> stream and window initialization is finished, ticket #7252.
Wow, current ffplay code assumes that no keypress or mouse events will
come before the window is shown. Strange thing that SDL2 on IOS
is forwarding input events even without a window...
So in order to fix this more thoroughly, I suggest the attached patch
instead. Supporting keypresses without a window (e.g. -nodisp mode) might
be possible, but that requires bigger changes...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1609 bytes
More information about the ffmpeg-devel