]> git.sesse.net Git - casparcg/commitdiff
Fixed compilation problem on Linux.
authorHelge Norberg <helge.norberg@svt.se>
Wed, 15 Mar 2017 19:08:21 +0000 (20:08 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Wed, 15 Mar 2017 19:08:21 +0000 (20:08 +0100)
core/producer/text/text_producer.cpp

index 4a00b460892822a6b69f9fcf83a93fb7f68d89e3..3bf3a097bbf8fdb6441846f9a29026e5cea46bae 100644 (file)
@@ -192,7 +192,7 @@ public:
                pfd.planes.push_back(core::pixel_format_desc::plane(static_cast<int>(atlas_.width()), static_cast<int>(atlas_.height()), static_cast<int>(atlas_.depth())));
                auto frame = frame_factory_->create_frame(this, pfd, core::audio_channel_layout::invalid());
                memcpy(frame.image_data().data(), atlas_.data(), frame.image_data().size());
-               return frame;
+               return std::move(frame);
        }
 
        void generate_frame()