Rename ContentAtmos -> PieceAtmos and pass atmos through Piece.
[dcpomatic.git] / src / lib / atmos_decoder.cc
index 478c4580977cd8e2ad8bcc33fb5904976d0a4ade..1b3e3503a8713a9ebf92fe6f8348f92681f23c25 100644 (file)
@@ -48,7 +48,7 @@ AtmosDecoder::seek ()
 void
 AtmosDecoder::emit (shared_ptr<const Film> film, shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata)
 {
-       Data (ContentAtmos(data, frame, metadata));
+       Data (data, frame, metadata);
        /* There's no fiddling with frame rates when we are using Atmos; the DCP rate must be the same as the Atmos one */
        _position = dcpomatic::ContentTime::from_frames (frame, film->video_frame_rate());
 }