|
|
@ -4251,9 +4251,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (hasGraphicalSubs)
|
|
|
|
if (hasGraphicalSubs)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var subSwScaleFilter = isSwDecoder
|
|
|
|
var subSwScaleFilter = GetCustomSwScaleFilter(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
|
|
|
? GetSwScaleFilter(state, options, vidEncoder, inW, inH, threeDFormat, reqW, reqH, reqMaxW, reqMaxH)
|
|
|
|
|
|
|
|
: GetCustomSwScaleFilter(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
|
|
|
|
|
|
|
subFilters.Add(subSwScaleFilter);
|
|
|
|
subFilters.Add(subSwScaleFilter);
|
|
|
|
overlayFilters.Add("overlay=eof_action=pass:shortest=1:repeatlast=0");
|
|
|
|
overlayFilters.Add("overlay=eof_action=pass:shortest=1:repeatlast=0");
|
|
|
|
|
|
|
|
|
|
|
|