diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/VideoPlayer.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Youtube.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index 4fce4e0..adc7eb8 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -134,6 +134,7 @@ namespace QuickMedia { ytdl_format.c_str(), // TODO: Disable hr seek on low power devices? "--hr-seek=yes", + "--cache-pause=no", "--cookies", cookies_file_arg.c_str(), input_conf.c_str(), diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 8575d07..ce359d4 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -1904,7 +1904,7 @@ namespace QuickMedia { if(!streaming_data_json.isObject()) return PluginResult::ERR; - // TODO: Verify if this always works (what about copyrighted live streams?), also what about choosing video quality for live stream? + // TODO: Verify if this always works (what about copyrighted live streams?), also what about choosing video quality for live stream? Maybe use mpv --hls-bitrate option? const Json::Value &hls_manifest_url_json = streaming_data_json["hlsManifestUrl"]; if(hls_manifest_url_json.isString()) { hls_manifest_url = hls_manifest_url_json.asString(); |