Shaka Packager SDK
packager
media
base
language_utils.h
1
// Copyright 2015 Google Inc. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
//
7
// Funtions used by MpdBuilder class to generate an MPD file.
8
9
#ifndef PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_
10
#define PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_
11
12
#include <string>
13
14
namespace
shaka
{
15
16
class
MediaInfo;
17
22
std::string
LanguageToShortestForm
(
const
std::string& language);
23
27
std::string
LanguageToISO_639_2
(
const
std::string& language);
28
29
}
// namespace shaka
30
31
#endif // PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_
shaka::LanguageToShortestForm
std::string LanguageToShortestForm(const std::string &language)
Definition:
language_utils.cc:89
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
shaka::LanguageToISO_639_2
std::string LanguageToISO_639_2(const std::string &language)
Definition:
language_utils.cc:117
Generated on Tue Jun 22 2021 00:16:03 for Shaka Packager SDK by
1.8.17