ffplay: do not wait for the picture allocation to finish on exit
authorMarton Balint <cus@passwd.hu>
Sun, 29 Dec 2013 02:52:09 +0000 (03:52 +0100)
committerMarton Balint <cus@passwd.hu>
Sun, 29 Dec 2013 12:19:19 +0000 (13:19 +0100)
commitac7b4bfdeb6af11348f15d4a308fcbe61e68b58b
tree72b85883407dd20aaed0376d02fe788b31ef161b
parente90aef9195d2081cd1ee4bc1759b5610427c50c8
ffplay: do not wait for the picture allocation to finish on exit

When SDL could not allocate a YUV overlay or open a window, the video thread
got locked up because it waited for the allocation to finish forever.

Reported-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c