CoreAudio input takes priority over FFmpeg on 10.14.x and older
parent
a1a85c502e
commit
c8301a9868
|
@ -312,7 +312,10 @@ static SInt64 getSizeProc(void* clientData) {
|
|||
|
||||
+ (float)priority
|
||||
{
|
||||
if (@available(macOS 10.15, *))
|
||||
return 1.0;
|
||||
else
|
||||
return 1.5;
|
||||
}
|
||||
|
||||
- (NSDictionary *)properties
|
||||
|
|
|
@ -589,7 +589,10 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op)
|
|||
|
||||
+ (float)priority
|
||||
{
|
||||
if (@available(macOS 10.15, *))
|
||||
return 1.5;
|
||||
else
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue