Skip to content

Commit b6f65be

Browse files
committed
demos: remove --no-osd
libvlc disables it by default now
1 parent aca7153 commit b6f65be

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Assets/VLCUnity/Demos/Scripts/VLCMinimalPlayback.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void Awake()
1818

1919
Core.Initialize(Application.dataPath);
2020

21-
_libVLC = new LibVLC(enableDebugLogs: true, "--no-osd");
21+
_libVLC = new LibVLC(enableDebugLogs: true);
2222

2323
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);
2424
//_libVLC.Log += (s, e) => UnityEngine.Debug.Log(e.FormattedLog); // enable this for logs in the editor

Assets/VLCUnity/Demos/Scripts/VLCPlayerExample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void CreateLibVLC()
252252
}
253253

254254
Core.Initialize(Application.dataPath); //Load VLC dlls
255-
libVLC = new LibVLC(enableDebugLogs: true, "--no-osd"); //--no-osd prevents play and pause icons being overlaid on our video
255+
libVLC = new LibVLC(enableDebugLogs: true); //You can customize LibVLC with advanced CLI options here https://wiki.videolan.org/VLC_command-line_help/
256256

257257
//Setup Error Logging
258258
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);

Assets/VLCUnity/Demos/Scripts/VLCSubtitles.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void Awake()
2222

2323
Core.Initialize(Application.dataPath);
2424

25-
_libVLC = new LibVLC(enableDebugLogs: true, "--no-osd");
25+
_libVLC = new LibVLC(enableDebugLogs: true);
2626

2727
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);
2828
//_libVLC.Log += (s, e) => UnityEngine.Debug.Log(e.FormattedLog); // enable this for logs in the editor

Assets/VLCUnity/Demos/Scripts/VLCThreeSixty.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void Awake()
1919
{
2020
Core.Initialize(Application.dataPath);
2121

22-
_libVLC = new LibVLC(enableDebugLogs: true, "--no-osd");
22+
_libVLC = new LibVLC(enableDebugLogs: true);
2323

2424
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);
2525
//_libVLC.Log += (s, e) => UnityEngine.Debug.Log(e.FormattedLog); // enable this for logs in the editor

0 commit comments

Comments
 (0)