mirror of
https://github.com/koush/scrypted.git
synced 2026-02-12 10:02:04 +00:00
rebroadcast: unrecognized platforms should still have libx264
This commit is contained in:
@@ -87,7 +87,7 @@ export function getH264DecoderArgs(): CodecArgs {
|
||||
return ret;
|
||||
}
|
||||
|
||||
export const LIBX264_ENCODER_TITLE = 'libx264 (Software)';
|
||||
const LIBX264_ENCODER_TITLE = 'libx264 (Software)';
|
||||
|
||||
export function getH264EncoderArgs() {
|
||||
const encoders: { [type: string]: string } = {};
|
||||
@@ -114,9 +114,6 @@ export function getH264EncoderArgs() {
|
||||
encoders['VAAPI'] = 'h264_vaapi';
|
||||
encoders['Nvidia'] = 'nvenc_h264';
|
||||
}
|
||||
else {
|
||||
return {};
|
||||
}
|
||||
|
||||
const encoderArgs: CodecArgs = {};
|
||||
for (const [name, encoder] of Object.entries(encoders)) {
|
||||
|
||||
Reference in New Issue
Block a user