Closed romanmeta closed 2 weeks ago
This pull request was exported from Phabricator. Differential Revision: D65667262
This pull request was exported from Phabricator. Differential Revision: D65667262
This pull request was exported from Phabricator. Differential Revision: D65667262
This pull request was exported from Phabricator. Differential Revision: D65667262
Summary: It is possible for a single video to have frames of different dimensions. Caching
SwsContext
across such frames results in all kinds of reliability issues (crashes, wrong data, etc.)This diff makes sure that we only reuse cached
SwsContext
if the arguments tosws_getContext
are the same.Reviewed By: ahmadsharif1
Differential Revision: D65667262