+
+
+Crop
+VideoContent::actual_crop () const
+{
+ return Crop(
+ _pixel_quanta.round_x(_crop.left),
+ _pixel_quanta.round_x(_crop.right),
+ _pixel_quanta.round_y(_crop.top),
+ _pixel_quanta.round_y(_crop.bottom)
+ );
+}
+
+
+void
+VideoContent::rotate_size()
+{
+ if (_size) {
+ std::swap(_size->width, _size->height);
+ }
+}
+