[vlc-commits] [Git][videolan/vlc][master] 2 commits: lib: do not inherit vmem values (refs #26881)
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Tue May 3 07:16:48 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
da9588c5 by Rémi Denis-Courmont at 2022-05-03T06:57:47+00:00
lib: do not inherit vmem values (refs #26881)
The vmem module may not be present, and this is unnecessary as the
values will necessarily be set by the application if it uses vmem.
- - - - -
a9f4fdd7 by Rémi Denis-Courmont at 2022-05-03T06:57:47+00:00
lib: do not inherit amem values (refs #26881)
The amem module may not be present, and this is unnecessary as the
values will necessarily be set by the application if it uses amem.
- - - - -
1 changed file:
- lib/media_player.c
Changes:
=====================================
lib/media_player.c
=====================================
@@ -603,10 +603,10 @@ libvlc_media_player_new( libvlc_instance_t *instance )
var_Create (mp, "vmem-data", VLC_VAR_ADDRESS);
var_Create (mp, "vmem-setup", VLC_VAR_ADDRESS);
var_Create (mp, "vmem-cleanup", VLC_VAR_ADDRESS);
- var_Create (mp, "vmem-chroma", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
- var_Create (mp, "vmem-width", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
- var_Create (mp, "vmem-height", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
- var_Create (mp, "vmem-pitch", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+ var_Create (mp, "vmem-chroma", VLC_VAR_STRING);
+ var_Create (mp, "vmem-width", VLC_VAR_INTEGER);
+ var_Create (mp, "vmem-height", VLC_VAR_INTEGER);
+ var_Create (mp, "vmem-pitch", VLC_VAR_INTEGER);
var_Create (mp, "vout-cb-type", VLC_VAR_INTEGER );
var_Create( mp, "vout-cb-opaque", VLC_VAR_ADDRESS );
@@ -695,9 +695,9 @@ libvlc_media_player_new( libvlc_instance_t *instance )
var_Create (mp, "amem-flush", VLC_VAR_ADDRESS);
var_Create (mp, "amem-drain", VLC_VAR_ADDRESS);
var_Create (mp, "amem-set-volume", VLC_VAR_ADDRESS);
- var_Create (mp, "amem-format", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
- var_Create (mp, "amem-rate", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
- var_Create (mp, "amem-channels", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+ var_Create (mp, "amem-format", VLC_VAR_STRING);
+ var_Create (mp, "amem-rate", VLC_VAR_INTEGER);
+ var_Create (mp, "amem-channels", VLC_VAR_INTEGER);
/* Video Title */
var_Create (mp, "video-title-show", VLC_VAR_BOOL);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/9bdbd49c68534bf1a2894b85a3a7bf52e3d52b85...a9f4fdd77251de7f348ee6722346acfebecb9306
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/9bdbd49c68534bf1a2894b85a3a7bf52e3d52b85...a9f4fdd77251de7f348ee6722346acfebecb9306
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list