CoreAudio input takes priority over FFmpeg on 10.14.x and older
This commit is contained in:
parent
a1a85c502e
commit
c8301a9868
2 changed files with 8 additions and 2 deletions
|
@ -312,7 +312,10 @@ static SInt64 getSizeProc(void* clientData) {
|
||||||
|
|
||||||
+ (float)priority
|
+ (float)priority
|
||||||
{
|
{
|
||||||
return 1.0;
|
if (@available(macOS 10.15, *))
|
||||||
|
return 1.0;
|
||||||
|
else
|
||||||
|
return 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSDictionary *)properties
|
- (NSDictionary *)properties
|
||||||
|
|
|
@ -589,7 +589,10 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op)
|
||||||
|
|
||||||
+ (float)priority
|
+ (float)priority
|
||||||
{
|
{
|
||||||
return 1.5;
|
if (@available(macOS 10.15, *))
|
||||||
|
return 1.5;
|
||||||
|
else
|
||||||
|
return 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue