[vlc-commits] misc: acoustid: set NO_INTERACT

Francois Cartegnie git at videolan.org
Sat Aug 2 22:29:52 CEST 2014


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Aug  1 11:09:43 2014 +0900| [fc7008e936d1ef77169464d3d4acc5f723ff5ab1] | committer: Jean-Baptiste Kempf

misc: acoustid: set NO_INTERACT

(cherry picked from commit 6dfc9301c5791bad9e85078b025cd5f20174aa6a)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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