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
We have one implementation per codec, with many methods that are strictly identical. We should be able to factorize this by implementing the methods that differ as regular methods of StatelessDecoder, and having a single StatelessVideoDecoder impl block that calls these.
next_event would probably require another trait method on the decoder device.
The text was updated successfully, but these errors were encountered:
These implementations do essentially the same thing, only with a different
format change callback, so factorize the common behavior into a single
method taking the callback as argument.
This has the benefit of performing the state change in a single place,
which is less error-prone.
Helps with issue #77.
We have one implementation per codec, with many methods that are strictly identical. We should be able to factorize this by implementing the methods that differ as regular methods of
StatelessDecoder
, and having a singleStatelessVideoDecoder
impl block that calls these.next_event
would probably require another trait method on the decoder device.The text was updated successfully, but these errors were encountered: