[vlc-devel] [vlc-commits] Used input_Close() where applicable.

Sébastien Escudier sebastien-devel at celeos.eu
Wed May 25 15:11:58 CEST 2011


Hi,

in commit 67b16b1b9f1babba51ca186a5a1107156f897c09 :
-        vlc_thread_join( p_input );
-
         var_DelCallback( p_instance->p_input, "intf-event", InputEvent, p_media );
-        vlc_object_release( p_input );
+        input_Close( p_input );


Now we loose some input events before the input ends, because the
callback is deleted too soon.
Would it be ok to revert to the old behaviour, with the attached patch ?

Regards,
Sebastien.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vlm-call-var_DelCallback-after-input-thread-is-joine.patch
Type: text/x-patch
Size: 2759 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110525/e36a848c/attachment.bin>


More information about the vlc-devel mailing list