fmp4mux: Log on unsupported orientation enums

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1975>
This commit is contained in:
Jochen Henneberg 2024-12-09 15:07:24 +01:00 committed by GStreamer Marge Bot
parent 7dea11f626
commit 57f24efc62

View file

@ -6,6 +6,7 @@
//
// SPDX-License-Identifier: MPL-2.0
use crate::fmp4mux::imp::CAT;
use gst::glib;
use gst::prelude::*;
@ -140,7 +141,10 @@ pub(crate) fn transform_matrix(
gst_video::VideoOrientationMethod::Vert => &FLIP_VERT_MATRIX,
gst_video::VideoOrientationMethod::UrLl => &FLIP_ROTATE_90R_MATRIX,
gst_video::VideoOrientationMethod::UlLr => &FLIP_ROTATE_90L_MATRIX,
_ => &IDENTITY_MATRIX,
_ => {
gst::info!(CAT, "Orientation {:?} not yet supported", orientation);
&IDENTITY_MATRIX
}
}
}