New upstream version 21.1.2+dfsg1
This commit is contained in:
parent
baafb6325b
commit
665f64a933
152 changed files with 3957 additions and 356 deletions
12
libobs/obs.c
12
libobs/obs.c
|
|
@ -974,18 +974,26 @@ int obs_reset_video(struct obs_video_info *ovi)
|
|||
break;
|
||||
}
|
||||
|
||||
bool yuv = format_is_yuv(ovi->output_format);
|
||||
const char *yuv_format = get_video_colorspace_name(ovi->colorspace);
|
||||
const char *yuv_range = get_video_range_name(ovi->range);
|
||||
|
||||
blog(LOG_INFO, "---------------------------------");
|
||||
blog(LOG_INFO, "video settings reset:\n"
|
||||
"\tbase resolution: %dx%d\n"
|
||||
"\toutput resolution: %dx%d\n"
|
||||
"\tdownscale filter: %s\n"
|
||||
"\tfps: %d/%d\n"
|
||||
"\tformat: %s",
|
||||
"\tformat: %s\n"
|
||||
"\tYUV mode: %s%s%s",
|
||||
ovi->base_width, ovi->base_height,
|
||||
ovi->output_width, ovi->output_height,
|
||||
scale_type_name,
|
||||
ovi->fps_num, ovi->fps_den,
|
||||
get_video_format_name(ovi->output_format));
|
||||
get_video_format_name(ovi->output_format),
|
||||
yuv ? yuv_format : "None",
|
||||
yuv ? "/" : "",
|
||||
yuv ? yuv_range : "");
|
||||
|
||||
return obs_init_video(ovi);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue