mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-22 15:46:20 +00:00
fmp4mux: Log on unsupported orientation enums
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1975>
This commit is contained in:
parent
7dea11f626
commit
57f24efc62
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue