]> granicus.if.org Git - libvpx/commit
Fix source buffer selection
authorJohn Koleszar <jkoleszar@google.com>
Wed, 3 Aug 2011 20:12:12 +0000 (16:12 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 3 Aug 2011 20:13:15 +0000 (16:13 -0400)
commit238dae8604af11c484bdd8a9f5f17a07f29b4469
tree504e2e2541011acf88be9c01462153de4c8cde92
parent30e5deae5da1c8d6ad73a58d69f16c6d6330a6b9
Fix source buffer selection

This patch fixes a bug in the interaction between the recode loop and
spatial resampling. If the codec was in a spatial resampling state,
and a subsequent iteration of the recode loop disables resampling,
then the source buffer must be reset to the unscaled source.

Change-Id: I4e4cd47b943f6cd26a47449dc7f4255b38e27c77
vp8/encoder/onyx_if.c