[vlc-commits] [Git][videolan/vlc][master] qt: fix condition for indexing

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Sat Aug 13 14:25:31 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
6dea7695 by Prince Gupta at 2022-08-13T14:11:56+00:00
qt: fix condition for indexing

- - - - -


1 changed file:

- modules/gui/qt/network/networkmediamodel.cpp


Changes:

=====================================
modules/gui/qt/network/networkmediamodel.cpp
=====================================
@@ -617,7 +617,7 @@ void NetworkMediaModel::refreshMediaList( MediaSourcePtr mediaSource,
             //ML thread
             [mainMrl](vlc_medialibrary_t* ml, Ctx& ctx){
                 auto ret = vlc_ml_is_indexed( ml, qtu(mainMrl.toString( QUrl::FullyEncoded )), &ctx.isIndexed );
-                ctx.succeed = (ret != VLC_SUCCESS);
+                ctx.succeed = (ret == VLC_SUCCESS);
             },
             //UI thread
             [this, mainMrl](quint64, Ctx& ctx){



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6dea7695a5f97206c82f64757e1e7c7ce9b45ebf

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6dea7695a5f97206c82f64757e1e7c7ce9b45ebf
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list