forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1552145 - Make MediaChangeMonitor by default not try to init deco…
…der until it receives extradata. r=jya In bug 1538508 we changed the MediaChangeMonitor to raise an error when we try to create a decoder and we don't yet have the H.264 extra data, to maintain the assumptions made by OpenH264/WebRTC. This however doesn't play nice with the HLS demuxer, which won't always give you extra data after a seek. So change the MediaChangeMonitor to by default assume that it should just drop frames until it has the extra data it needs to create a decoder. We can flag this mode off in the WebRTC MediaDataDecoder. Differential Revision: https://phabricator.services.mozilla.com/D34079
- Loading branch information
Chris Pearce
committed
Jun 7, 2019
1 parent
14465d4
commit 96947e1
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters