[vlc-devel] [PATCH] libvlc: inherit defaults when setting video title display

Rémi Denis-Courmont remi at remlab.net
Sun Jul 7 17:56:31 CEST 2013


Le dimanche 7 juillet 2013 17:36:52, Mark Lee a écrit :
> ---
>  lib/media_player.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/media_player.c b/lib/media_player.c
> index 376159f..2dfb53a 100644
> --- a/lib/media_player.c
> +++ b/lib/media_player.c
> @@ -458,9 +458,9 @@ libvlc_media_player_new( libvlc_instance_t *instance )
>      var_Create (mp, "amem-channels", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
> 
>      /* Video Title */
> -    var_Create (mp, "video-title-show", VLC_VAR_BOOL);
> -    var_Create (mp, "video-title-position", VLC_VAR_INTEGER);
> -    var_Create (mp, "video-title-timeout", VLC_VAR_INTEGER);
> +    var_Create (mp, "video-title-show", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
> +    var_Create (mp, "video-title-position", VLC_VAR_INTEGER |
> VLC_VAR_DOINHERIT); +    var_Create (mp, "video-title-timeout",
> VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);

Yeah sure. Then again, we could also decree that the title is not shown by 
default with LibVLC. This does not affect the VLC anyhow.


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list