mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported
This commit is contained in:
1 parent
8f361ab00b
commit
0ddfea1d1b
6 files changed
+162
-87
No files matched your search
@@ -4782,7 +4782,7 @@ static void *SWITCH_THREAD_FUNC video_helper_thread(switch_thread_t *thread, voi
|
||||
}
|
||||
|
||||
if ((var = switch_channel_get_variable(session->channel, "core_video_blank_image"))) {
|
||||
blank_img = switch_img_read_png(var);
|
||||
blank_img = switch_img_read_png(var, SWITCH_IMG_FMT_I420);
|
||||
}
|
||||
|
||||
if (!blank_img) {
|
||||
|
||||
Reference in new issue
Block a user