summaryrefslogtreecommitdiff
path: root/src/AS_DCP_MPEG2.cpp
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2021-08-26 20:42:53 -0700
committerGitHub <noreply@github.com>2021-08-26 20:42:53 -0700
commitb8c87905046423d7f04e9103ffb321a4d23870eb (patch)
tree06ca1754874997abe9279e34b275ff5159e3d927 /src/AS_DCP_MPEG2.cpp
parent1ff08641353a1ff1887f223dc01310cc0167d8fe (diff)
parentfdd28f8bb3608978e75b27c5410db447396f361b (diff)
Merge pull request #10 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/definitions_into_namespace
Put definitions inside their corresponding namespaces
Diffstat (limited to 'src/AS_DCP_MPEG2.cpp')
-rwxr-xr-xsrc/AS_DCP_MPEG2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/AS_DCP_MPEG2.cpp b/src/AS_DCP_MPEG2.cpp
index 0608abd..3fd979c 100755
--- a/src/AS_DCP_MPEG2.cpp
+++ b/src/AS_DCP_MPEG2.cpp
@@ -39,6 +39,10 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
static std::string MPEG_PACKAGE_LABEL = "File Package: SMPTE 381M frame wrapping of MPEG2 video elementary stream";
static std::string PICT_DEF_LABEL = "Picture Track";
+namespace ASDCP {
+
+namespace MPEG2
+{
//
ASDCP::Result_t
MD_to_MPEG2_VDesc(MXF::MPEG2VideoDescriptor* VDescObj, MPEG2::VideoDescriptor& VDesc)
@@ -111,6 +115,8 @@ MPEG2_VDesc_to_MD(MPEG2::VideoDescriptor& VDesc, MXF::MPEG2VideoDescriptor* VDes
VDescObj->ProfileAndLevel = VDesc.ProfileAndLevel;
return RESULT_OK;
}
+} // namespace MPEG2
+} // namespace asdcp
//
std::ostream&