Skip to content

Commit

Permalink
scripts: remove version downscaling
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Olivain <juju@cotds.org>
  • Loading branch information
jolivain committed Oct 10, 2016
1 parent d84a7aa commit e25179c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion gst-shadertoy-cam-1.8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ SHADER_FILE="$1"

exec gst-launch-1.0 -v \
v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! \
videoscale ! 'video/x-raw,width=128,height=96,framerate=30/1' ! \
glupload ! \
glcolorconvert ! \
glshader vertex="\"$(cat myshader.vs)\"" fragment="\"$(cat "$SHADER_FILE" | sed 's/\"/\\"/g' )\"" ! \
Expand Down
1 change: 0 additions & 1 deletion gst-shadertoy-file-1.8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ SHADER_FILE="$2"
exec gst-launch-1.0 -v \
filesrc location="${VIDEO_FILE}" ! \
decodebin ! \
videoscale ! 'video/x-raw,width=64,height=48' ! \
glupload ! \
glcolorconvert ! \
glshader vertex="\"$(cat myshader.vs)\"" fragment="\"$(cat "$SHADER_FILE" | sed 's/\"/\\"/g' )\"" ! \
Expand Down

0 comments on commit e25179c

Please sign in to comment.