libobs: Remove broken rescale modification logic

This logic would previously have written any changed scale resolution
set by the encoder in the `.get_video_info` callback back to the
encoder, however this functionality was "broken" by
20d8779d30. In reality, this would have
never worked with texture encoders or with GPU rescaling enabled, and
probably would have had odd side effects for CPU rescaling, too. It's
best just to remove this functionality.
This commit is contained in:
tt2468
2024-07-05 19:15:12 -07:00
committed by Ryan Foster
parent d9503d4c27
commit 92b5643081
-3
View File
@@ -186,9 +186,6 @@ static inline void get_video_info(struct obs_encoder *encoder,
if (encoder->info.get_video_info)
encoder->info.get_video_info(encoder->context.data, info);
if (info->width != voi->width || info->height != voi->height)
obs_encoder_set_scaled_size(encoder, info->width, info->height);
}
static inline bool gpu_encode_available(const struct obs_encoder *encoder)