mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
gst: Implement SPA_META_VideoTransform support
Many Gstreamer elements support transforming buffers via the `image-orientation` tag. Use it to implement support for the new VideoTransform meta. In order for Gstreamer pipelines to enable support for these tags usually the rotate method has to be set to `auto` or `automatic`, e.g. `videoflip method=automatic`, `glimagesink rotate-method=automatic` or `waylandsink rotate-method=auto`.
This commit is contained in:
parent
fa799aac86
commit
2ed7afb76c
4 changed files with 52 additions and 2 deletions
|
|
@ -95,6 +95,8 @@ struct _GstPipeWireSrc {
|
|||
GstPipeWirePool *pool;
|
||||
GstClock *clock;
|
||||
GstClockTime last_time;
|
||||
|
||||
enum spa_meta_videotransform_value transform_value;
|
||||
};
|
||||
|
||||
struct _GstPipeWireSrcClass {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue