diff options
author | Robert Shih <robertshih@google.com> | 2014-01-23 15:00:53 -0800 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-03-06 16:26:01 -0800 |
commit | f7e34cfcb9d649989c8e391f23dde782d4931849 (patch) | |
tree | 3a836aaa2a4940547dd9f116e6fe85907d62940e /media/libstagefright/httplive/M3UParser.h | |
parent | b2be2f2e41d5502d79636b21cbad23f4f983bbd7 (diff) | |
download | frameworks_av-f7e34cfcb9d649989c8e391f23dde782d4931849.zip frameworks_av-f7e34cfcb9d649989c8e391f23dde782d4931849.tar.gz frameworks_av-f7e34cfcb9d649989c8e391f23dde782d4931849.tar.bz2 |
stagefright: use CODECS field in EXT-X_STREAM-INF as fallback
Use the CODECS field in EXT-X-STREAM-INF as a viable fallback for identifying
available streams in a variant playlist.
Bug: 11854054
Change-Id: I5011809dc7c56220b023eb1a16f2d6a392ddd6f1
Diffstat (limited to 'media/libstagefright/httplive/M3UParser.h')
-rw-r--r-- | media/libstagefright/httplive/M3UParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/M3UParser.h b/media/libstagefright/httplive/M3UParser.h index 5248004..b93b0e5 100644 --- a/media/libstagefright/httplive/M3UParser.h +++ b/media/libstagefright/httplive/M3UParser.h @@ -100,6 +100,10 @@ private: static status_t ParseInt32(const char *s, int32_t *x); static status_t ParseDouble(const char *s, double *x); + static bool isQuotedString(const AString &str); + static AString unquoteString(const AString &str); + static bool codecIsType(const AString &codec, const char *type); + DISALLOW_EVIL_CONSTRUCTORS(M3UParser); }; |