Skip to content

Commit

Permalink
fix smpte2110 values
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kennedy committed Dec 21, 2023
1 parent 0a8ea5d commit f2657b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/bin/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,13 @@ fn rscap() {
let no_zmq = args.no_zmq;

if args.smpte2110 {
packet_size = 2112;
batch_size = 1;
packet_size = 1500; // set packet size to 1500 for smpte2110

// TODO: fix so this is a limit in the args input
// or fix smpte2110 to work with batch size less than 7 without memory backup
if batch_size < 7 {
batch_size = 7;
}
}

if silent {
Expand Down

0 comments on commit f2657b6

Please sign in to comment.