Fix compilation errors by clang for mpd_builder target
Change-Id: I7c6f09714a4005267469bebf4b9783466883236f
This commit is contained in:
parent
efa270963e
commit
72deea3493
|
@ -0,0 +1,6 @@
|
|||
#include "mpd/base/content_protection_element.h"
|
||||
|
||||
namespace dash_packager {
|
||||
ContentProtectionElement::ContentProtectionElement() {}
|
||||
ContentProtectionElement::~ContentProtectionElement() {}
|
||||
} // namespace dash_packager
|
|
@ -12,6 +12,9 @@
|
|||
namespace dash_packager {
|
||||
|
||||
struct ContentProtectionElement {
|
||||
ContentProtectionElement();
|
||||
~ContentProtectionElement();
|
||||
|
||||
std::string value; // Will be set for 'value' attribute.
|
||||
std::string scheme_id_uri; // Will be set for 'schemeIdUri' attribute.
|
||||
|
||||
|
|
|
@ -290,7 +290,7 @@ bool Representation::Init() {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!media_info_.container_type() == MediaInfo::CONTAINER_UNKNOWN) {
|
||||
if (media_info_.container_type() == MediaInfo::CONTAINER_UNKNOWN) {
|
||||
// TODO(rkuroiwa): This might not be the right behavior. Maybe somehow
|
||||
// infer from something else like media file name?
|
||||
LOG(ERROR) << "'container_type' in MediaInfo cannot be CONTAINER_UNKNOWN.";
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
'target_name': 'mpd_builder',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'base/content_protection_element.cc',
|
||||
'base/content_protection_element.h',
|
||||
'base/mpd_builder.cc',
|
||||
'base/mpd_builder.h',
|
||||
|
|
Loading…
Reference in New Issue