Treat .gif memes as photos - bitreich-tv - Meme TV encoding and streaming | |
git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 819508532b3a30f49d841418f204ee2a710e94ea | |
parent 858a02a99c06cbc2d2ff1cbbcbc5fd41ace0cbfb | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 17 Aug 2020 10:18:16 +0200 | |
Treat .gif memes as photos | |
Diffstat: | |
M bin/brtv-imgs-to-video.sh | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/bin/brtv-imgs-to-video.sh b/bin/brtv-imgs-to-video.sh | |
@@ -51,9 +51,8 @@ video_from_img() { | |
mkdir -p "$out_dir" | |
# generate video from each image | |
-# TODO: deal with .gif | |
while read -r tag url; do | |
- if ! regeximatch "$url" '\.(jpg|jpeg|png)$'; then | |
+ if ! regeximatch "$url" '\.(jpg|jpeg|png|gif)$'; then | |
continue | |
fi | |