aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-03 23:09:39 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-03 23:09:39 +0200
commit96b6286bc6a9f4e82c0d2499626770e68506f63c (patch)
tree9eb96b1d23f22f36c9e484bb70c35d92fe90922f
parent34a0621c53a44f6a5865cec79b1c9364de8d0ea0 (diff)
Add hls (m3u8) container option
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml1
-rw-r--r--src/main.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml
index 6172cc8..5accf09 100644
--- a/com.dec05eba.gpu_screen_recorder.appdata.xml
+++ b/com.dec05eba.gpu_screen_recorder.appdata.xml
@@ -86,6 +86,7 @@
<ul>
<li>Add system tray icon</li>
<li>Notify recording as successful when closing window while recording</li>
+ <li>Add hls (m3u8) container option</li>
</ul>
</description>
</release>
diff --git a/src/main.cpp b/src/main.cpp
index c7e7a4a..87b0dae 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -200,7 +200,8 @@ static const Container supported_containers[] = {
{ "flv", "flv" },
{ "matroska", "mkv" }, // TODO: Default to this on amd/intel, add (Recommended on AMD/Intel)
{ "mov", "mov" },
- { "mpegts", "ts" }
+ { "mpegts", "ts" },
+ { "hls", "m3u8" }
};
struct AudioRow {