lavc: add sample rate and channel layout to AVFrame.