Bläddra i källkod

removed dead code

Luke Pulverenti 8 år sedan
förälder
incheckning
8b7936addf
1 ändrade filer med 0 tillägg och 10 borttagningar
  1. 0 10
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

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

@@ -794,11 +794,6 @@ namespace MediaBrowser.Controller.MediaEncoding
                 return false;
                 return false;
             }
             }
 
 
-            if (state.EnableMpDecimate)
-            {
-                return false;
-            }
-
             if (videoStream.IsInterlaced)
             if (videoStream.IsInterlaced)
             {
             {
                 if (state.DeInterlace(videoStream.Codec, false))
                 if (state.DeInterlace(videoStream.Codec, false))
@@ -1515,11 +1510,6 @@ namespace MediaBrowser.Controller.MediaEncoding
                 }
                 }
             }
             }
 
 
-            if (state.EnableMpDecimate)
-            {
-                filters.Add("mpdecimate,setpts=N/FRAME_RATE/TB");
-            }
-
             if (filters.Count > 0)
             if (filters.Count > 0)
             {
             {
                 output += string.Format(" -vf \"{0}\"", string.Join(",", filters.ToArray()));
                 output += string.Format(" -vf \"{0}\"", string.Join(",", filters.ToArray()));