[vlc-commits] macosx/library: show all videos available

Felix Paul Kühne git at videolan.org
Fri Jan 24 18:07:12 CET 2020


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Fri Jan 24 17:13:50 2020 +0100| [f02317be0c8db903673c29551bbf4aab3bf28fcd] | committer: Felix Paul Kühne

macosx/library: show all videos available

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

 modules/gui/macosx/library/VLCLibraryModel.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/library/VLCLibraryModel.m b/modules/gui/macosx/library/VLCLibraryModel.m
index ed9a61fbd1..0b4b4d9e7e 100644
--- a/modules/gui/macosx/library/VLCLibraryModel.m
+++ b/modules/gui/macosx/library/VLCLibraryModel.m
@@ -277,7 +277,7 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
     dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INTERACTIVE, 0), ^{
         vlc_ml_query_params_t queryParameters;
         memset(&queryParameters, 0, sizeof(vlc_ml_query_params_t));
-        queryParameters.i_nbResults = 20;
+        queryParameters.i_nbResults = 0;
         queryParameters.i_sort = self->_sortCriteria;
         queryParameters.b_desc = self->_sortDescending;
         vlc_ml_media_list_t *p_media_list = vlc_ml_list_video_media(self->_p_mediaLibrary, &queryParameters);



More information about the vlc-commits mailing list