mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
mac-videotoolbox: Make unsupported color format text codec agnostic
This commit is contained in:
@@ -15,7 +15,7 @@ KeyframeIntervalSec="Keyframe Interval (0=auto)"
|
||||
Profile="Profile"
|
||||
UseBFrames="Use B-Frames"
|
||||
RateControl="Rate Control"
|
||||
ColorFormatUnsupportedH264="The selected color format is not supported by the Apple VT H.264 encoder. Select a compatible color format in Settings -> Advanced or use a different encoder."
|
||||
ColorFormatUnsupported="The selected color format is not supported by the selected Apple VT encoder. Select a compatible color format in Settings -> Advanced or use a different encoder."
|
||||
ProResCodec="ProRes Codec"
|
||||
ProRes422Proxy="ProRes 422 Proxy"
|
||||
ProRes422LT="ProRes 422 LT"
|
||||
|
||||
@@ -585,7 +585,7 @@ static bool update_params(struct vt_encoder *enc, obs_data_t *settings)
|
||||
if (!set_video_format(enc, voi->format, voi->range)) {
|
||||
obs_encoder_set_last_error(
|
||||
enc->encoder,
|
||||
obs_module_text("ColorFormatUnsupportedH264"));
|
||||
obs_module_text("ColorFormatUnsupported"));
|
||||
VT_BLOG(LOG_WARNING, "Unsupported color format selected");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user