[vlc-commits] [Git][videolan/vlc][master] libvlc: disable OSD by default
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Mar 5 14:19:14 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
4efd9096 by Steve Lhomme at 2022-03-05T13:52:17+00:00
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.
- - - - -
2 changed files:
- NEWS
- lib/media_player.c
Changes:
=====================================
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
=====================================
lib/media_player.c
=====================================
@@ -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);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4efd9096639357fca7f4077ef1d5a04021c31641
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4efd9096639357fca7f4077ef1d5a04021c31641
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