mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
analytics: Make AnalyticsODLocation members public
Get access to AnalyticsODLocation structure members outside the module is useful if other elements need them. For example it can be used to draw objects location. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1389>
This commit is contained in:
parent
f82b9cc197
commit
2613c57739
1 changed files with 6 additions and 6 deletions
|
@ -60,13 +60,13 @@ impl<'a> AnalyticsRelationMetaODExt
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
#[derive(Clone, Copy, Default, Debug)]
|
||||
pub struct AnalyticsODLocation {
|
||||
x: i32,
|
||||
y: i32,
|
||||
w: i32,
|
||||
h: i32,
|
||||
loc_conf_lvl: f32,
|
||||
pub x: i32,
|
||||
pub y: i32,
|
||||
pub w: i32,
|
||||
pub h: i32,
|
||||
pub loc_conf_lvl: f32,
|
||||
}
|
||||
|
||||
unsafe impl AnalyticsMtd for AnalyticsODMtd {
|
||||
|
|
Loading…
Reference in a new issue