Fix software decoder with videotoolbox encoder
Format should be placed before hwupload to support some software decoders Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
f7227c6ca1
commit
808cd6f06a
|
@ -5279,8 +5279,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
{
|
||||
// INPUT videotoolbox/memory surface(vram/uma)
|
||||
// this will pass-through automatically if in/out format matches.
|
||||
mainFilters.Insert(0, "format=nv12|p010le|videotoolbox_vld");
|
||||
mainFilters.Insert(0, "hwupload");
|
||||
mainFilters.Insert(0, "format=nv12|p010le|videotoolbox_vld");
|
||||
}
|
||||
|
||||
return (mainFilters, subFilters, overlayFilters);
|
||||
|
|
Loading…
Reference in New Issue
Block a user