mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
56513a18cb
The sizing policy allows selecting between the current behavior, which deforms the texture to fill the width and height of the pad; and a new 'keep-aspect-ratio' sizing policy, which fits the texture within the rectangle respecting its original aspect ratio. The reason for this is that this allows avoiding extra elements in the pipeline, and reduces the number of buffer passing through the pipeline. Most of this code is a direct port of the sizing policy handling of the compositor element, except it is adapted to operate on GL texture coordinates through the projection matrix. <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3760> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3760> |
||
---|---|---|
.. | ||
libs | ||
plugins | ||
random | ||
gst_api_version.in | ||
index.md | ||
meson.build | ||
sitemap.txt | ||
version.in |