Skip to main content
ALT Linux Bugzilla
– Attachment 23011 Details for
Bug 61666
Не записываются видеофайлы при использовании видеокодировщика VP8 в mod_av
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
FreeSWITCH: сохранять выбранный видеокодировщик mod_av
freeswitch-61666.patch (text/plain), 1.30 KB, created by
Anton Farygin
on 2026-11-25 21:36:52 MSK
(
hide
)
Description:
FreeSWITCH: сохранять выбранный видеокодировщик mod_av
Filename:
MIME Type:
Creator:
Anton Farygin
Created:
2026-11-25 21:36:52 MSK
Size:
1.30 KB
patch
obsolete
>From 4fcd18c4e0d49bc2d126a275736d15776b1b8a0c Mon Sep 17 00:00:00 2001 >From: Anton Farygin <rider@altlinux.org> >Date: Wed, 25 Nov 2026 23:27:25 +0500 >Subject: [PATCH] fix(mod_av): honor the selected video encoder at first frame > >--- > src/mod/applications/mod_av/avformat.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c >index f34dd52e5a..1459bb3625 100644 >--- a/src/mod/applications/mod_av/avformat.c >+++ b/src/mod/applications/mod_av/avformat.c >@@ -3395,7 +3395,9 @@ static switch_status_t av_file_write_video(switch_file_handle_t *handle, switch_ > context->video_st.width = frame->img->d_w; > context->video_st.height = frame->img->d_h; > context->video_st.next_pts = switch_time_now() / 1000; >- if (add_stream(context, &context->video_st, context->fc, &context->video_codec, context->fc->oformat->video_codec, &handle->mm) == SWITCH_STATUS_SUCCESS && >+ if (add_stream(context, &context->video_st, context->fc, &context->video_codec, >+ context->video_codec ? context->video_codec->id : context->fc->oformat->video_codec, >+ &handle->mm) == SWITCH_STATUS_SUCCESS && > open_video(context->fc, context->video_codec, &context->video_st) == SWITCH_STATUS_SUCCESS) { > > char codec_str[256] = ""; >-- >2.50.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61666
:
23001
|
23002
|
23003
| 23011