Add logging when force_key_frames is disabled
This commit is contained in:
parent
3f43aef997
commit
75426d0004
|
@ -948,7 +948,11 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
args += " " + EncodingHelper.GetVideoQualityParam(state, codec, encodingOptions, GetDefaultEncoderPreset());
|
||||
|
||||
// Unable to force key frames to h264_qsv transcode
|
||||
if (codec != "h264_qsv") {
|
||||
if (codec == "h264_qsv") {
|
||||
Logger.LogInformation("Bug Workaround: Disabling force_key_frames for h264_qsv");
|
||||
}
|
||||
else
|
||||
{
|
||||
args += " " + keyFrameArg;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user