On Mon, 11 Jun 2018, Marton Balint wrote:



On Mon, 11 Jun 2018, Carl Eugen Hoyos wrote:

Hi!

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...

Pushed.

Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to