Browse Source

Merge pull request #7925 from nyanmisaka/remove-mpeg4-amf

(cherry picked from commit b295b0478c3bb8dd1b9d9ab7f15e7326c3eda2fe)
Signed-off-by: crobibero <cody@robibe.ro>
Cody Robibero 3 years ago
parent
commit
9c5d30c217
1 changed files with 0 additions and 5 deletions
  1. 0 5
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 0 - 5
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -4686,11 +4686,6 @@ namespace MediaBrowser.Controller.MediaEncoding
                 {
                 {
                     return GetHwaccelType(state, options, "vc1", bitDepth, hwSurface);
                     return GetHwaccelType(state, options, "vc1", bitDepth, hwSurface);
                 }
                 }
-
-                if (string.Equals("mpeg4", videoStream.Codec, StringComparison.OrdinalIgnoreCase))
-                {
-                    return GetHwaccelType(state, options, "mpeg4", bitDepth, hwSurface);
-                }
             }
             }
 
 
             if (is8_10bitSwFormatsAmf)
             if (is8_10bitSwFormatsAmf)