aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-25 11:14:40 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-25 11:14:40 +0200
commitb4bbed2402bc3a35f880679f45229157720f831a (patch)
tree7761710c8d3e12abff49d279993990b604cd3852 /src/main.cpp
parent06b559ecef8aa81e9658e76bf3d5ad0c173087d5 (diff)
Fix build issues on older ffmpeg (disable unused vulkan encoder for now), fix incorrect wayland protocol fileHEADmaster
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 73af76d..74b713c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3618,7 +3618,6 @@ int main(int argc, char **argv) {
if(force_iframe_frame) {
video_frame->pict_type = AV_PICTURE_TYPE_I;
- video_frame->flags |= AV_FRAME_FLAG_KEY;
}
int ret = avcodec_send_frame(video_codec_context, video_frame);
@@ -3632,7 +3631,6 @@ int main(int argc, char **argv) {
if(force_iframe_frame) {
force_iframe_frame = false;
video_frame->pict_type = AV_PICTURE_TYPE_NONE;
- video_frame->flags &= ~AV_FRAME_FLAG_KEY;
}
}