build in CMake branch is broken at least locally on OS X after #1210 was merged which introduced some new warnings and reintroduced base::nullopt.
This commit is contained in:
parent
5557e76c2b
commit
8b87804c57
|
@ -296,7 +296,7 @@ std::optional<xml::XmlNode> AdaptationSet::GetXml() {
|
||||||
!adaptation_set.AddSupplementalProperty(
|
!adaptation_set.AddSupplementalProperty(
|
||||||
"urn:mpeg:mpegB:cicp:TransferCharacteristics",
|
"urn:mpeg:mpegB:cicp:TransferCharacteristics",
|
||||||
std::to_string(transfer_characteristics_))) {
|
std::to_string(transfer_characteristics_))) {
|
||||||
return base::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note: must be checked before checking segments_aligned_ (below). So that
|
// Note: must be checked before checking segments_aligned_ (below). So that
|
||||||
|
|
|
@ -181,7 +181,7 @@ class AdaptationSet {
|
||||||
void set_codec(const std::string& codec) { codec_ = codec; };
|
void set_codec(const std::string& codec) { codec_ = codec; };
|
||||||
|
|
||||||
/// @return transfer_characteristics.
|
/// @return transfer_characteristics.
|
||||||
const uint32_t transfer_characteristics() const {
|
uint32_t transfer_characteristics() const {
|
||||||
return transfer_characteristics_;
|
return transfer_characteristics_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
#include <libxml/tree.h>
|
#include <libxml/tree.h>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue