[vlc-commits] commit: ML: Replace pl_Hold with pl_Get (Srikanth Raju )

git at videolan.org git at videolan.org
Sat Jul 3 20:22:18 CEST 2010


vlc | branch: master | Srikanth Raju <srikiraju at gmail.com> | Sat Jul  3 19:31:33 2010 +0530| [d4d1d2ecbb4054ccce1bd2dd219e58597d661df3] | committer: Srikanth Raju 

ML: Replace pl_Hold with pl_Get

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

 src/misc/media_library.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/media_library.c b/src/misc/media_library.c
index 1105b4a..cf4e2b7 100644
--- a/src/misc/media_library.c
+++ b/src/misc/media_library.c
@@ -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++ )



More information about the vlc-commits mailing list