aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvpx.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2019-08-30 14:02:48 -0700
committerAman Gupta <aman@tmm1.net>2019-09-11 10:28:56 -0700
commit8dc973dc89194d536425f7042b90bb6d3808be23 (patch)
tree1637584febf618f0720b2a6ef8d4371e01139d34 /libavcodec/libvpx.c
parentefc73b13ac397764d381fb8e7a07dd2cdf37ebd3 (diff)
downloadffmpeg-8dc973dc89194d536425f7042b90bb6d3808be23.tar.gz
avcodec/v4l2_buffers: read height/width from the proper context
Frames are generally dequeued into capture buffers, so using the output properties here was incorrect. It happened to work fine for decoding, since the output/capture buffers have the same dimensions. For the v4l2 scaler, the dimensions can be different between output and capture. Using the buffer's associated context makes this code work correctly regardless of where the frame is coming from. Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/libvpx.c')
0 files changed, 0 insertions, 0 deletions