diff options
Diffstat (limited to 'rotord/src/graph.cpp')
| -rw-r--r-- | rotord/src/graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp index 333d11c..f54b18c 100644 --- a/rotord/src/graph.cpp +++ b/rotord/src/graph.cpp @@ -532,7 +532,7 @@ bool Graph::load_audio(const string &filename,vector<Audio_processor*> processor AVFrame* frame=loader.get_frame(); int sample_processed=0; - while (frame) + while (frame&&!cancelled) { //now we can pass the data to the processor(s) for (auto p: processors) { |
