Browse Source

Merge pull request #1336 from MediaBrowser/mediainfo

Mediainfo
Luke 9 years ago
parent
commit
acd8b0d7a8
1 changed files with 0 additions and 22 deletions
  1. 0 22
      MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

+ 0 - 22
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

@@ -103,13 +103,6 @@ namespace MediaBrowser.MediaEncoding.Probing
                 }
                 }
 
 
                 ExtractTimestamp(info);
                 ExtractTimestamp(info);
-
-                var videoStream = info.MediaStreams.FirstOrDefault(i => i.Type == MediaStreamType.Video);
-
-                if (videoStream != null && videoType == VideoType.VideoFile)
-                {
-                    DetectInterlaced(info, videoStream);
-                }
             }
             }
 
 
             return info;
             return info;
@@ -932,20 +925,5 @@ namespace MediaBrowser.MediaEncoding.Probing
 
 
             return TransportStreamTimestamp.None;
             return TransportStreamTimestamp.None;
         }
         }
-
-        private void DetectInterlaced(MediaSourceInfo video, MediaStream videoStream)
-        {
-            if (video.Protocol != MediaProtocol.File || videoStream == null)
-            {
-                return;
-            }
-
-            // Take a shortcut and limit this to containers that are likely to have interlaced content
-            if (!string.Equals(video.Container, "ts", StringComparison.OrdinalIgnoreCase) &&
-                !string.Equals(video.Container, "wtv", StringComparison.OrdinalIgnoreCase))
-            {
-                return;
-            }
-        }
     }
     }
 }
 }