[vlc-commits] [Git][videolan/vlc][master] qml: fix indexing via NetworkMediaModel

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Sep 14 12:12:06 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f3d1d1b4 by Prince Gupta at 2022-09-14T11:51:38+00:00
qml: fix indexing via NetworkMediaModel

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/network/networkmediamodel.cpp
=====================================
@@ -408,7 +408,7 @@ bool NetworkMediaModel::initializeMediaSources()
             //ML thread
             [uri](vlc_medialibrary_t* ml, Ctx& ctx){
                 auto ret = vlc_ml_is_indexed( ml, uri.constData(), &ctx.isIndexed );
-                ctx.succeed = (ret != VLC_SUCCESS);
+                ctx.succeed = (ret == VLC_SUCCESS);
             },
             //ML thread
             [this](quint64,Ctx& ctx){



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f3d1d1b4b0db72252e0e79f662aa6f9217324075
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