]> git.sesse.net Git - nageru/commitdiff
Fix a shutdown issue in X264Encoder.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Apr 2016 23:56:38 +0000 (01:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Apr 2016 23:56:38 +0000 (01:56 +0200)
x264encode.cpp

index 0192eec7fb8f1616dbb08c2062fe6a77e9a827e7..78127934b91ba9f572e5ab09fa087e6bba234450 100644 (file)
@@ -26,6 +26,7 @@ X264Encoder::X264Encoder(Mux *mux)
 X264Encoder::~X264Encoder()
 {
        should_quit = true;
+       queued_frames_nonempty.notify_all();
        encoder_thread.join();
 }