]> git.sesse.net Git - vlc/blobdiff - src/playlist/search.c
Removed unused -playlist_ItemSetName.
[vlc] / src / playlist / search.c
index 3959e96b8b1e4a21d5b2f5433b1b7e029a9c02a9..7c731fc449a5abceb397237345c6a510e55ce2ec 100644 (file)
@@ -73,7 +73,7 @@ playlist_item_t * playlist_ItemGetByInput( playlist_t * p_playlist ,
     {
         /* FIXME: this is potentially dangerous, we could destroy
          * p_ret any time soon */
-        input_item_t *p_ret = get_current_status_item( p_playlist );
+        playlist_item_t *p_ret = get_current_status_item( p_playlist );
         PL_UNLOCK_IF( !b_locked );
         return p_ret;
     }
@@ -170,8 +170,8 @@ int playlist_LiveSearchUpdate( playlist_t *p_playlist, playlist_item_t *p_root,
                                const char *psz_string )
 {
     PL_ASSERT_LOCKED;
-    p_playlist->b_reset_currently_playing = true;
+    pl_priv(p_playlist)->b_reset_currently_playing = true;
     playlist_LiveSearchUpdateInternal( p_playlist, p_root, psz_string );
-    vlc_object_signal_maybe( VLC_OBJECT(p_playlist) );
+    vlc_object_signal_unlocked( p_playlist );
     return VLC_SUCCESS;
 }