[vlc-devel] [Patch] Send an event even when snapshot failed

Hugo Beauzee-Luyssen beauze.h at gmail.com
Mon Jan 18 01:34:11 CET 2010


Hi,

VLC doesn't send any kind of feedback when taking a snapshot failed.
This patch corrects it, and send an event with a NULL filename.

I know the string "(null)" is kinda dirty, but i didn't find any other
way as the string is duplicated, and replaced by an empty string if
null.
I could have check it for 0 length afterward, but having a 0 lengthed
string seemed like not that good an idea to me...
Anyway, any feedback, correction, and eventually merge will be appreciated :)

Best regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Send-an-event-when-snapshot-capture-failed.patch
Type: application/octet-stream
Size: 2454 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100118/d0fedc4e/attachment.obj>


More information about the vlc-devel mailing list