[vlmc-devel] VLCInstance: Fix libvlc argv to use dummy vout and don't display subtitles, filename and stats by default

Rohit Yadav git at videolan.org
Sun Mar 11 21:20:29 CET 2012


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Mon Mar 12 02:05:12 2012 +0530| [c7ca9a11e2b82af16afc56735d1a9ca98d93ff79] | committer: Rohit Yadav

VLCInstance: Fix libvlc argv to use dummy vout and don't display subtitles, filename and stats by default

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=c7ca9a11e2b82af16afc56735d1a9ca98d93ff79
---

 src/LibVLCpp/VLCInstance.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/LibVLCpp/VLCInstance.cpp b/src/LibVLCpp/VLCInstance.cpp
index 5a8bf9b..9ab9cc5 100644
--- a/src/LibVLCpp/VLCInstance.cpp
+++ b/src/LibVLCpp/VLCInstance.cpp
@@ -36,6 +36,10 @@ Instance::Instance( QObject* parent /*= NULL*/ ) : QObject( parent )
 //        "--ffmpeg-debug", "3",
         "--no-skip-frames",
         "--text-renderer", "dummy",
+        "--vout", "dummy",
+        "--no-video-title-show",            // Don't display the filename
+        "--no-stats",                       // Don't display stats
+        "--no-sub-autodetect-file",         // Don't detect subtitles
         //"--no-audio",
         //"--plugin-path", VLC_TREE "/modules",
         "--no-disable-screensaver", //No need to disable the screensaver, and save a thread.



More information about the Vlmc-devel mailing list