vaapipostproc: rotate outbuf and crop meta if forwarding
When forwarding crop meta to downstream, the output
buffer and crop meta need to be rotated, too.
Test:
for i in 90r 180 90l vert horiz ul-lr ur-ll
do
gst-launch-1.0 -vf videotestsrc num-buffers=500 \
! videocrop top=100 bottom=30 left=40 right=20 \
! vaapipostproc video-direction=$i \
! vaapisink & \
gst-launch-1.0 -vf videotestsrc num-buffers=500 \
! videocrop top=100 bottom=30 left=40 right=20 \
! vaapipostproc video-direction=$i \
! identity drop-allocation=true \
! vaapisink
done