summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2013-04-26 00:57:06 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2013-06-21 19:06:59 +0100
commit5faed43f291f5fb64bb3ec8d6042609cf9f18cb4 (patch)
tree7b41b428f14d296ea0472cb0fe458da62cd2d52b /doc
parentee559d4e930573a50cbd704ec2a8d20316e1b2aa (diff)
downloadcogl-5faed43f291f5fb64bb3ec8d6042609cf9f18cb4.tar.gz
cogl-gst: expose aspect ratio apis
This adds several utility apis that aim to make it as easy as possible for an application to determine what size a video should be drawn at. The important detail here is that these apis take into account the pixel-aspect-ratio in addition to the video's own aspect ratio. This patch updates the cogl-basic-video-player example to use the cogl_gst_video_sink_fit_size() api to perform letterboxing. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit d26f17c97ff6b9f6d6211e0527d5965a85305a56)
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/cogl-gst/cogl-gst-sections.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/reference/cogl-gst/cogl-gst-sections.txt b/doc/reference/cogl-gst/cogl-gst-sections.txt
index ea0e761e..35dd3688 100644
--- a/doc/reference/cogl-gst/cogl-gst-sections.txt
+++ b/doc/reference/cogl-gst/cogl-gst-sections.txt
@@ -13,6 +13,10 @@ cogl_gst_video_sink_setup_pipeline
cogl_gst_video_sink_get_free_layer
cogl_gst_video_sink_set_first_layer
cogl_gst_video_sink_set_default_sample
+cogl_gst_video_sink_get_aspect
+cogl_gst_video_sink_get_width_for_height
+cogl_gst_video_sink_get_height_for_width
+cogl_gst_video_sink_fit_size
<SUBSECTION Standard>
COGL_GST_IS_VIDEO_SINK