[vlc-commits] rc: don't block input/playlist commands when paused
Rémi Denis-Courmont
git at videolan.org
Tue May 28 19:03:15 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 27 21:17:33 2019 +0300| [0c99962f6519a7bb45be10498ad3b3bb52f35688] | committer: Rémi Denis-Courmont
rc: don't block input/playlist commands when paused
Lua RC does allow them.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c99962f6519a7bb45be10498ad3b3bb52f35688
---
modules/control/oldrc.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/modules/control/oldrc.c b/modules/control/oldrc.c
index 2aca23e551..5762698156 100644
--- a/modules/control/oldrc.c
+++ b/modules/control/oldrc.c
@@ -368,10 +368,6 @@ static void Input( vlc_object_t *p_this, char const *psz_cmd,
vlc_player_t *player = vlc_playlist_GetPlayer(p_intf->p_sys->playlist);
vlc_player_Lock(player);
- if( vlc_player_IsPaused(player) &&
- ( strcmp( psz_cmd, "pause" ) != 0 ) && (strcmp( psz_cmd,"frame") != 0 ) )
- msg_rc( "%s", _("Press pause to continue.") );
- else
/* Parse commands that only require an input */
if( !strcmp( psz_cmd, "pause" ) )
vlc_player_TogglePause(player);
@@ -554,13 +550,6 @@ static void Playlist( vlc_object_t *p_this, char const *psz_cmd,
vlc_playlist_Lock(playlist);
- if (vlc_playlist_GetCurrentIndex(playlist) != -1 &&
- vlc_player_IsPaused(player))
- {
- msg_rc("%s", _("Type 'pause' to continue."));
- goto end;
- }
-
/* Parse commands that require a playlist */
if( !strcmp( psz_cmd, "prev" ) )
vlc_playlist_Prev(playlist);
More information about the vlc-commits
mailing list