diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-05-07 16:48:25 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-05-07 17:10:45 +0200 |
| commit | 878849c465604d90d236b3c8766bf75a4b6836d2 (patch) | |
| tree | 315982d2c98ff7ae4de597697575837b41f24206 /src/stream.c | |
| parent | Add support for floats (diff) | |
| download | blind-878849c465604d90d236b3c8766bf75a4b6836d2.tar.gz blind-878849c465604d90d236b3c8766bf75a4b6836d2.tar.bz2 blind-878849c465604d90d236b3c8766bf75a4b6836d2.tar.xz | |
Add blind-convert
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/stream.c')
| -rw-r--r-- | src/stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c index 6ff71c0..46edfa8 100644 --- a/src/stream.c +++ b/src/stream.c @@ -106,6 +106,8 @@ set_pixel_size(struct stream *stream) { if (!strcmp(stream->pixfmt, "xyza")) stream->pixel_size = 4 * sizeof(double); + else if (!strcmp(stream->pixfmt, "xyza f")) + stream->pixel_size = 4 * sizeof(float); else return -1; return 0; |
