[vlc-commits] misc: acoustid: set NO_INTERACT

Francois Cartegnie git at videolan.org
Fri Aug 1 04:18:32 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  1 11:09:43 2014 +0900| [6dfc9301c5791bad9e85078b025cd5f20174aa6a] | committer: Francois Cartegnie

misc: acoustid: set NO_INTERACT

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6dfc9301c5791bad9e85078b025cd5f20174aa6a
---

 modules/misc/webservices/acoustid.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/misc/webservices/acoustid.c b/modules/misc/webservices/acoustid.c
index 3c16110..f23be5a 100644
--- a/modules/misc/webservices/acoustid.c
+++ b/modules/misc/webservices/acoustid.c
@@ -180,7 +180,10 @@ int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data )
     vlc_cleanup_push( cancelDoAcoustIdWebRequest, &request );
 
     msg_Dbg( p_obj, "Querying AcoustID from %s", request.psz_url );
+    int i_saved_flags = p_obj->i_flags;
+    p_obj->i_flags |= OBJECT_FLAGS_NOINTERACT;
     request.p_stream = stream_UrlNew( p_obj, request.psz_url );
+    p_obj->i_flags = i_saved_flags;
     if ( !request.p_stream )
     {
         i_status = VLC_EGENERIC;



More information about the vlc-commits mailing list