Browse Source

break from chapter extraction once one fails

Luke Pulverenti 12 years ago
parent
commit
d14c3b31ff
1 changed files with 4 additions and 0 deletions
  1. 4 0
      MediaBrowser.Controller/MediaInfo/FFMpegManager.cs

+ 4 - 0
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))