aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-21 14:36:05 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-21 14:36:05 +0100
commit121d84c7a29479d3dd6ffe4a516c52347ccaeca2 (patch)
tree0a18efaa12f92f47bcc98579cefdb4646de875af
parent03f2bc611c43b423fd5dd015a1d1a4fb05727bea (diff)
parente8ecf81b55907cda7d70aef831f122c5b923f796 (diff)
downloadODR-AudioEnc-121d84c7a29479d3dd6ffe4a516c52347ccaeca2.tar.gz
ODR-AudioEnc-121d84c7a29479d3dd6ffe4a516c52347ccaeca2.tar.bz2
ODR-AudioEnc-121d84c7a29479d3dd6ffe4a516c52347ccaeca2.zip
Merge pull request 21 from maceyldn into next
-rw-r--r--src/VLCInput.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index ca44f04..ef4cfc4 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -1,5 +1,6 @@
/* ------------------------------------------------------------------
* Copyright (C) 2022 Matthias P. Braendli
+ * Copyright (c) 2023 Andy Mace (andy.mace@mediauk.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -165,6 +166,11 @@ void VLCInput::prepare()
vector<string> vlc_args;
vlc_args.push_back("--verbose=" + to_string(m_verbosity));
+ //Prevent TS with Multiple Audio Streams breaking the buffer. Select the 1st Audio Stream.
+ vlc_args.push_back("--no-video");
+ vlc_args.push_back("--no-sout-all");
+
+
if (not m_cache.empty()) {
vlc_args.push_back("--network-caching=" + m_cache);
}