vlc | branch: master | Thomas Guillem <[email protected]> | Mon Jun 3 11:45:40 2019 +0200| [33951846d7f211466f4d998929ad0191f26883f4] | committer: Thomas Guillem
qt: pass player to vlc_strfinput > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33951846d7f211466f4d998929ad0191f26883f4 --- modules/gui/qt/components/player_controller.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt/components/player_controller.cpp b/modules/gui/qt/components/player_controller.cpp index bd77d3eac9..d64eaaee50 100644 --- a/modules/gui/qt/components/player_controller.cpp +++ b/modules/gui/qt/components/player_controller.cpp @@ -75,7 +75,9 @@ void PlayerControllerPrivate::UpdateName(input_item_t* media) char *formatted = NULL; if (format != NULL) { - formatted = vlc_strfinput( NULL, media, format ); + vlc_player_Lock( m_player ); + formatted = vlc_strfinput( m_player, media, format ); + vlc_player_Unlock( m_player ); free( format ); if( formatted != NULL ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
