From 38f4bc6a216a33344c3b0857dd302d1e2bbd96f2 Mon Sep 17 00:00:00 2001 From: eisneinechse <42617957+eisneinechse@users.noreply.github.com> Date: Tue, 18 Sep 2018 11:10:16 -0700 Subject: [PATCH] Adding aoutput if decode device is not found --- src/FFmpegReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FFmpegReader.cpp b/src/FFmpegReader.cpp index 3b508f23..b9be0b54 100644 --- a/src/FFmpegReader.cpp +++ b/src/FFmpegReader.cpp @@ -292,6 +292,7 @@ void FFmpegReader::Open() // Check if it is there and writable if( dev_hw != NULL && access( dev_hw, W_OK ) == -1 ) { dev_hw = NULL; // use default + cerr << "\n\n\nDecode Device not present using default\n\n\n"; } hw_device_ctx = NULL; // Here the first hardware initialisations are made