Merge remote-tracking branch 'origin/main' into v2.17.x
[dcpomatic.git] / src / lib / video_content.cc
index e84462ed28baa06177e2ef2778c887fa48d60c96..10dd5ff1e27e1a5782d44f7540d5395e18795034 100644 (file)
@@ -724,3 +724,12 @@ VideoContent::actual_crop () const
        );
 }
 
+
+void
+VideoContent::rotate_size()
+{
+       if (_size) {
+               std::swap(_size->width, _size->height);
+       }
+}
+