Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-20 Thread Carl Eugen Hoyos
2018-06-20 22:43 GMT+02:00, Marton Balint : > > > 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. >>

Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-20 Thread Marton Balint
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

Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-11 Thread Marton Balint
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 thin

[FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-10 Thread Carl Eugen Hoyos
Hi! Attached patch fixes a crash if SDL sends a keydown event before stream and window initialization is finished, ticket #7252. Please comment, Carl Eugen From 43324194a81f1f33150fefac6336285ab95eb14f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 11 Jun 2018 01:44:24 +0200 Subject: