break loop if we receive an averror, fixes #664

This commit is contained in:
itsmattkc
2019-03-25 02:05:08 +11:00
parent 7b7a083d0a
commit 02d0b35924
+1
View File
@@ -654,6 +654,7 @@ void Cacher::CacheVideoWorker() {
// again, an EOF isn't an "error" but will how we add frames (see below)
qCritical() << "Failed to retrieve frame from buffersink." << retrieve_code;
break;
} else if (decoded_frame->pts != AV_NOPTS_VALUE) {