diff options
author | pommicket <pommicket@gmail.com> | 2025-02-26 14:37:44 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-02-26 19:07:21 -0500 |
commit | 849700a4499ae0c77b7c87c2d022fb18b0daf4f9 (patch) | |
tree | 1ad7dbe2d4a50a8853193091560a2d93832e224c /main.c | |
parent | b263baec1d18376f81c20b76220e329af5e2f0df (diff) |
ogg vp8!
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -837,7 +837,7 @@ static bool take_picture(State *state) { // add nanoseconds as well snprintf(path + strlen(path), sizeof path - strlen(path), "-%lu", (unsigned long)ts.tv_nsec); } - const char *extension = state->mode == MODE_VIDEO ? "mp4" : image_format_extensions[settings->image_format]; + const char *extension = state->mode == MODE_VIDEO ? "ogv" : image_format_extensions[settings->image_format]; snprintf(path + strlen(path), sizeof path - strlen(path), ".%s", extension); int fd = open(path, O_EXCL | O_CREAT, 0644); if (fd == -1 && errno == EEXIST) { |