Adding aoutput if decode device is not found

This commit is contained in:
eisneinechse
2018-09-18 11:10:16 -07:00
parent df9d1a5717
commit 38f4bc6a21

View File

@@ -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