video: Deprecate gst_video_sink_center_rect()
authorSeungha Yang <seungha@centricular.com>
Wed, 19 May 2021 11:11:15 +0000 (20:11 +0900)
committerSeungha Yang <seungha@centricular.com>
Tue, 29 Jun 2021 09:00:43 +0000 (18:00 +0900)
commit2551b1d976dba885f5950a7b3b170389b0f05c2c
tree827f1b0ce493623f91db7c2dcfda9a092ed9ca9a
parent556ce36ce43c429d8df4032057fe9bcbbb2b69a9
video: Deprecate gst_video_sink_center_rect()

... and add gst_video_center_rect() method as a replacement.
The method is useful for outside of videosink subclasses as well
but the old naming might be able to mislead people.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1156>
gst-libs/gst/video/gstvideosink.c
gst-libs/gst/video/gstvideosink.h