Explorar el Código

Fix software decoder with videotoolbox encoder

Format should be placed before hwupload to support some software decoders

Signed-off-by: gnattu <gnattuoc@me.com>
gnattu hace 10 meses
padre
commit
808cd6f06a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 1
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -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);