lavd/xv: handle delete window message
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Tue, 27 May 2014 20:57:26 +0000 (22:57 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Jun 2014 17:20:32 +0000 (19:20 +0200)
commite5c806fd676ff7efbb683a7b3825dd16af3674f5
tree7903b367df758c916e2ab08cdf09122231864c18
parente429d6c1971db72195d84da2463859498cd030dc
lavd/xv: handle delete window message

User may close X11 window by close button on tray.
FFmpeg leaves in graceless way.
This commit detects it and return EPIPE error.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/xv.c