mirror of https://code.videolan.org/videolan/vlc
libvlc: disable OSD by default
Most libvlc usage means displaying the video in their own UI with their own style. We should not push our OSD style by default. It can still be added back with an "osd" parameter when calling libvlc_new(). Keep the OSD on Desktop builds, although with the Qt integration it may be better to do it in the UI layer as well.
This commit is contained in:
parent
6fa58261ff
commit
4efd909663
1
NEWS
1
NEWS
|
@ -80,6 +80,7 @@ Video output:
|
|||
* Remove RealRTSP plugin
|
||||
* Remove Real demuxer plugin
|
||||
* Fix washed out black on NVIDIA cards with Direct3D9
|
||||
* On-Screen-Display is off by default in libvlc
|
||||
|
||||
Audio filter:
|
||||
* Add RNNoise recurrent neural network denoiser
|
||||
|
|
|
@ -653,6 +653,8 @@ libvlc_media_player_new( libvlc_instance_t *instance )
|
|||
var_Create (mp, "sub-source", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
|
||||
var_Create (mp, "sub-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
|
||||
|
||||
var_Create (mp, "osd", VLC_VAR_BOOL); // off
|
||||
|
||||
var_Create (mp, "marq-marquee", VLC_VAR_STRING);
|
||||
var_Create (mp, "marq-color", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
|
||||
var_Create (mp, "marq-opacity", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
|
||||
|
|
Loading…
Reference in New Issue