Skip to content

Commit

Permalink
Merge branch 'main' of github.com:koush/scrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 4, 2025
2 parents 427139e + b110039 commit 93ad50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions common/src/ffmpeg-hardware-acceleration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ export function getH264DecoderArgs(): CodecArgs {
],
};

if (isRaspberryPi()) {
ret['Raspberry Pi'] = ['-c:v', 'h264_mmal'];
ret[V4L2] = ['-c:v', 'h264_v4l2m2m'];
}
else if (os.platform() === 'linux') {
if (os.platform() === 'linux') {
ret[V4L2] = ['-c:v', 'h264_v4l2m2m'];
}
else if (os.platform() === 'win32') {
Expand Down
1 change: 1 addition & 0 deletions server/src/scrypted-cluster-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ export function createClusterServer(mainFilename: string, scryptedRuntime: Scryp
console.log('Cluster client authenticated.', socket.remoteAddress, socket.remotePort, properties);
}
catch (e) {
console.error('Cluster client authentication failed.', socket.remoteAddress, socket.remotePort, e);
peer.kill(e);
socket.destroy();
}
Expand Down

0 comments on commit 93ad50d

Please sign in to comment.