[vlc-commits] playlist (legacy): use input_Close()

Rémi Denis-Courmont git at videolan.org
Wed Mar 6 21:57:37 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  6 19:47:16 2019 +0200| [7bf3c3fe232e67dfa25167bf527cc7b87f22b137] | committer: Rémi Denis-Courmont

playlist (legacy): use input_Close()

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

 src/playlist_legacy/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist_legacy/thread.c b/src/playlist_legacy/thread.c
index ceb87c0015..26b06307c1 100644
--- a/src/playlist_legacy/thread.c
+++ b/src/playlist_legacy/thread.c
@@ -243,7 +243,7 @@ static bool PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
         {
             var_DelCallback( p_input_thread, "intf-event",
                              InputEvent, p_playlist );
-            vlc_object_release( p_input_thread );
+            input_Close(p_input_thread);
             p_input_thread = NULL;
         }
     }



More information about the vlc-commits mailing list