Whitespace.
authorCarl Hetherington <cth@carlh.net>
Sat, 27 Feb 2021 23:09:29 +0000 (00:09 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 27 Feb 2021 23:09:29 +0000 (00:09 +0100)
examples/make_dcp.cc

index 302d0b1bbbb3595bac55ce877b5bbe8416bed8d7..93cfc1b666057f4736fd30065f700bf2043e4900 100644 (file)
@@ -49,14 +49,14 @@ main ()
        dcp::init();
 
        /* Create a directory to put the DCP in */
-       boost::filesystem::create_directory ("DCP");
+       boost::filesystem::create_directory("DCP");
 
        /* Make a picture asset.  This is a file which combines JPEG2000 files together to make
           up the video of the DCP.  First, create the object, specifying a frame rate of 24 frames
           per second.
        */
 
-       auto picture_asset = std::make_shared<dcp::MonoPictureAsset>(dcp::Fraction (24, 1), dcp::Standard::SMPTE);
+       auto picture_asset = std::make_shared<dcp::MonoPictureAsset>(dcp::Fraction(24, 1), dcp::Standard::SMPTE);
 
        /* Start off a write to it */
        auto picture_writer = picture_asset->start_write("DCP/picture.mxf", false);
@@ -101,12 +101,12 @@ main ()
        /* Add picture and sound to it.  The zeros are the `entry points', i.e. the first
           (video) frame from the assets that the reel should play.
        */
-       reel->add (std::make_shared<dcp::ReelMonoPictureAsset>(picture_asset, 0));
-       reel->add (std::make_shared<dcp::ReelSoundAsset>(sound_asset, 0));
+       reel->add(std::make_shared<dcp::ReelMonoPictureAsset>(picture_asset, 0));
+       reel->add(std::make_shared<dcp::ReelSoundAsset>(sound_asset, 0));
 
        /* Make a CPL with this reel */
        auto cpl = std::make_shared<dcp::CPL>("My film", dcp::ContentKind::FEATURE);
-       cpl->add (reel);
+       cpl->add(reel);
 
        /* Write the DCP */
        dcp::DCP dcp ("DCP");