mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
[mod_openh264, mod_av] add avcodec and openh264 debug
This commit is contained in:
1 parent
e2a53bdcb8
commit
1cbb2e6fc3
2 files changed
+13
No files matched your search
@@ -1764,6 +1764,12 @@ static switch_status_t switch_h264_control(switch_codec_t *codec,
|
||||
h264_codec_context_t *context = (h264_codec_context_t *)codec->private_info;
|
||||
|
||||
switch(cmd) {
|
||||
case SCC_DEBUG:
|
||||
{
|
||||
int32_t level = *((uint32_t *) cmd_data);
|
||||
mod_av_globals.debug = level;
|
||||
}
|
||||
break;
|
||||
case SCC_VIDEO_GEN_KEYFRAME:
|
||||
context->need_key_frame = 1;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user