aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-18 19:42:27 +0200
committerMattias Andrée <maandree@kth.se>2017-07-18 19:42:27 +0200
commit0a034f2bd5a44c3cc0c033eacc940bb3bf73662c (patch)
tree67157dd8856f3c71900716c0098242dd4ce87c0c /src/stream.c
parentMisc code improvements (diff)
downloadblind-0a034f2bd5a44c3cc0c033eacc940bb3bf73662c.tar.gz
blind-0a034f2bd5a44c3cc0c033eacc940bb3bf73662c.tar.bz2
blind-0a034f2bd5a44c3cc0c033eacc940bb3bf73662c.tar.xz
Add blind-mosaic-corners and fix enset_pixel_format
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c
index 11dabd5..46fed64 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -128,7 +128,7 @@ set_pixel_format(struct stream *stream, const char *pixfmt)
void
enset_pixel_format(int status, struct stream *stream, const char *pixfmt)
{
- if (!set_pixel_format(stream, pixfmt)) {
+ if (set_pixel_format(stream, pixfmt)) {
if (pixfmt)
enprintf(status, "pixel format %s is not supported, try xyza\n", pixfmt);
else