You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor StreamReader - let StreamProcessor own codec context (#3157)
Summary:
Pull Request resolved: #3157
AVCodecContext plays central role in decoding and encoding.
Currently in StreamReader, the object is owned inside of Decoder class
and it's not accessible from other objects.
This commit move the ownership of AVCodecContext out of Decoder to
StreamProcessor class so that other components can check access its field.
Also, the Decoder class, which is super thin wrapper around AVCodecContext
object, is now absorbed to StreamProcessor class.
Reviewed By: xiaohui-zhang
Differential Revision: D43924664
fbshipit-source-id: e53254955d9ce16871e393bcd8bb2794ce6a51ff
0 commit comments