ffmpeg: Fixed wrong picture size
authorHolger Kaelberer <holger.k@elberer.de>
Mon, 15 Oct 2012 13:29:00 +0000 (15:29 +0200)
committerHolger Kaelberer <holger.k@elberer.de>
Mon, 15 Oct 2012 13:29:00 +0000 (15:29 +0200)
commitdd0917862760e45dd9c62789b5577abc20931985
tree70ff433413c4c79d893a2c9b8459e382018ece92
parent36cb3f2074a5a229122626c7c36043d19a19d7df
ffmpeg: Fixed wrong picture size

Use AVCodecContext.width/height instead of coded_width/coded_height
for picture caps. VA-API surfaces allocated for h264 clips, whose
height is not aligned to 16 pixel boundaries are (vertically) too big,
leading to an ugly streched last line.
gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c