mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 14:30:43 +09:00
test
This commit is contained in:
@@ -1086,7 +1086,7 @@ static RecordingStartResult start_recording_create_streams(const char *filename,
|
||||
avformat_alloc_output_context2(&av_format_context, nullptr, arg_parser.container_format, filename);
|
||||
|
||||
av_opt_set(av_format_context->priv_data, "use_editlist", "1", 0);
|
||||
//av_opt_set(av_format_context->priv_data, "movflags", "+frag_keyframe+empty_moov+delay_moov", 0);
|
||||
av_opt_set(av_format_context->priv_data, "movflags", "+frag_keyframe+empty_moov+delay_moov", 0);
|
||||
|
||||
AVStream *video_stream = create_stream(av_format_context, video_codec_context);
|
||||
avcodec_parameters_from_context(video_stream->codecpar, video_codec_context);
|
||||
@@ -3790,7 +3790,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
av_opt_set(av_format_context->priv_data, "use_editlist", "1", 0);
|
||||
//av_opt_set(av_format_context->priv_data, "movflags", "+frag_keyframe+empty_moov+delay_moov", 0);
|
||||
av_opt_set(av_format_context->priv_data, "movflags", "+frag_keyframe+empty_moov+delay_moov", 0);
|
||||
|
||||
const AVOutputFormat *output_format = av_format_context->oformat;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user