On Wed, Jan 30, 2013 at 5:01 PM, Sotaro Ikeda <[email protected]> wrote:
> - When video player is changed from foreground to background. video tag > frees hw video code. > - When the video player comes back to the foreground, video tag try to get > hw video codec and recover to a same state as before. > If the player was playing video, resume video playback. > - When video player is in background state, video tag do not load hw codec > even when it is requested by the vide player. > > I think there are two ways to implement this. > - [1] Control free hw video codec based on document's state > - [2] implement video codec mediator like AudioChannelService. > > [2] can handle more use cases than [1]. > That sounds reasonable but is it possible to switch decoders without losing playback state? We've never done anything like that before as far as I know. Can you do it at the OMX level? Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28] _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

