From d14c3b31ff5665b03fee07aab46532fcf3069c1a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 6 Apr 2013 20:27:33 -0400 Subject: [PATCH] break from chapter extraction once one fails --- MediaBrowser.Controller/MediaInfo/FFMpegManager.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs index f0a960ce1..9bfebccde 100644 --- a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs +++ b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs @@ -717,6 +717,10 @@ namespace MediaBrowser.Controller.MediaInfo chapter.ImagePath = path; changesMade = true; } + else + { + break; + } } } else if (!string.Equals(path, chapter.ImagePath, StringComparison.OrdinalIgnoreCase))