libobs: Remove unused internal encoder util function

Was previously introduced in a0f679bc40,
but has since been made unused.
This commit is contained in:
tt2468
2023-01-15 20:33:58 -08:00
committed by John R. Bradley
parent eb0d9dc5d2
commit 7e30d3f8a2
-10
View File
@@ -175,16 +175,6 @@ static inline void get_video_info(struct obs_encoder *encoder,
obs_encoder_set_scaled_size(encoder, info->width, info->height);
}
static inline bool has_scaling(const struct obs_encoder *encoder)
{
uint32_t video_width = video_output_get_width(encoder->media);
uint32_t video_height = video_output_get_height(encoder->media);
return encoder->scaled_width && encoder->scaled_height &&
(video_width != encoder->scaled_width ||
video_height != encoder->scaled_height);
}
static inline bool gpu_encode_available(const struct obs_encoder *encoder)
{
struct obs_core_video_mix *video = get_mix_for_video(encoder->media);