You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Adding aoutput if decode device is not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user