Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: media/base/media.h

Issue 2864593003: Add MimeUtil::Parse{Audio|Video}CodecString (Closed)
Patch Set: Feedback && Proprietary Codecs fix && Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/media/media_capabilities_browsertest.cc ('k') | media/base/media.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Contains code that should be used for initializing, or querying the state 5 // Contains code that should be used for initializing, or querying the state
6 // of the media library as a whole. 6 // of the media library as a whole.
7 7
8 #ifndef MEDIA_BASE_MEDIA_H_ 8 #ifndef MEDIA_BASE_MEDIA_H_
9 #define MEDIA_BASE_MEDIA_H_ 9 #define MEDIA_BASE_MEDIA_H_
10 10
(...skipping 16 matching lines...) Expand all
27 // Indicates if the platform supports Opus. Determined *ONLY* by the platform 27 // Indicates if the platform supports Opus. Determined *ONLY* by the platform
28 // version, so does not guarantee that either can actually be played. 28 // version, so does not guarantee that either can actually be played.
29 MEDIA_EXPORT bool PlatformHasOpusSupport(); 29 MEDIA_EXPORT bool PlatformHasOpusSupport();
30 #endif 30 #endif
31 31
32 // Tells the media library to support parsing of the new multipart vp9 codec 32 // Tells the media library to support parsing of the new multipart vp9 codec
33 // string. 33 // string.
34 // TODO(chcunningham): Remove these (always support) when string standardized. 34 // TODO(chcunningham): Remove these (always support) when string standardized.
35 MEDIA_EXPORT void EnableNewVp9CodecStringSupport(); 35 MEDIA_EXPORT void EnableNewVp9CodecStringSupport();
36 MEDIA_EXPORT bool HasNewVp9CodecStringSupport(); 36 MEDIA_EXPORT bool HasNewVp9CodecStringSupport();
37 MEDIA_EXPORT void DisableNewVp9CodecStringSupport_ForTesting();
37 38
38 } // namespace media 39 } // namespace media
39 40
40 #endif // MEDIA_BASE_MEDIA_H_ 41 #endif // MEDIA_BASE_MEDIA_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_capabilities_browsertest.cc ('k') | media/base/media.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698