mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix build issues on older ffmpeg (disable unused vulkan encoder for now), fix incorrect wayland protocol file
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user