]> git.sesse.net Git - vlc/commitdiff
ML: Replace pl_Hold with pl_Get
authorSrikanth Raju <srikiraju@gmail.com>
Sat, 3 Jul 2010 13:43:33 +0000 (19:13 +0530)
committerSrikanth Raju <srikiraju@gmail.com>
Sat, 3 Jul 2010 18:21:33 +0000 (23:51 +0530)
src/misc/media_library.c

index 1105b4af6270a020284e9bc548f7568cf2c4646f..cf4e2b75259c597cd7a9784ae668435dfee4e5e6 100644 (file)
@@ -371,7 +371,7 @@ void ml_PlaySmartPlaylistBasedOn( media_library_t* p_ml,
     assert( p_tree );
     vlc_array_t* p_results = vlc_array_new();
     ml_FindAdv( p_ml, p_results, ML_ID, NULL, p_tree );
-    playlist_t* p_pl = pl_Hold( p_ml );
+    playlist_t* p_pl = pl_Get( p_ml );
     playlist_Lock( p_pl );
     playlist_Clear( p_pl, true );
     for( int i = 0; i < vlc_array_count( p_results ); i++ )