lavfi/pan: switch to AVFrame.