Introduction
Introduction Statistics Contact Development Disclaimer Help
blind-stack: fix frame count prediction - blind - suckless command-line video e…
git clone git://git.suckless.org/blind
Log
Files
Refs
README
LICENSE
---
commit edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f
parent 0ca8f64f61b534ba2428236fec2c8879fe58c059
Author: Mattias Andrée <[email protected]>
Date: Fri, 14 Jul 2017 16:40:06 +0200
blind-stack: fix frame count prediction
Signed-off-by: Mattias Andrée <[email protected]>
Diffstat:
M src/blind-stack.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/blind-stack.c b/src/blind-stack.c
@@ -65,7 +65,9 @@ main(int argc, char *argv[])
for (i = 0; i < n_streams; i++) {
eopen_stream(streams + i, argv[i]);
- if (shortest ? (streams[i].frames && streams[i].frames) < fram…
+ if (shortest ?
+ (streams[i].frames && streams[i].frames < frames) :
+ (streams[i].frames || streams[i].frames > frames))
frames = streams[i].frames;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.