Add a test program for the perspective element
[experiments/gstreamer.git] / shell / gst-test-rotate.sh
1 #!/bin/sh
2
3 set -e
4
5 FORMATS="ARGB BGR BGRA BGRx RGB RGBA RGBx AYUV xBGR xRGB GRAY8 GRAY16_BE GRAY16_LE"
6 for format in $FORMATS;
7 do
8   echo "Testing format: $format"
9   GST_PLUGIN_PATH=$(pwd) \
10   gst-launch-1.0 videotestsrc ! video/x-raw,format="$format",width=640,height=480 ! rotate angle="0.79" ! autovideoconvert ! autovideosink > /dev/null 2>&1
11 done