Permalink
Browse files

fixed: reset error state flag

since we continue no matter, we should avoid spamming
each line to the log after an error has been encountered

fixes part of #12567
  • Loading branch information...
1 parent fca3b1c commit cc9710e44aad80fae98555f4110f0ac35ffc4d3d spiff committed with Mar 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/cores/dvdplayer/Edl.cpp
@@ -182,6 +182,8 @@ bool CEdl::ReadEdl(const CStdString& strMovie, const float fFramesPerSecond)
if (bError)
CLog::Log(LOGWARNING, "%s - Error on line %i in EDL file: %s", __FUNCTION__, iLine, edlFilename.c_str());
+ bError = false;
+
iLine++;
CStdStringArray strFields(2);

0 comments on commit cc9710e

Please sign in to comment.