-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix strange compiler problem in HLS parser.
Previously, the Closure compiler was causing a strange problem in non-debug compiled builds in the HLS parser: when we make an alias for shaka.net.NetworkingEngine.RequestType, if we access RequestType.SEGMENT the value is undefined. However, if we store shaka.net.NetworkingEngine.RequestType.SEGMENT in a variable, it works. Looking at the compiled code, when shaka.net.NetworkingEngine.RequestType is defined, SEGMENT seems to be treated as some special case, which might explain this odd behavior. Fixes #2156 Change-Id: I272dbc8b8db08ef8f9067c535c25890adae32440
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 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