mutter/cogl-gst
Robert Bragg 5faed43f29 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)
2013-06-21 19:06:59 +01:00
..
cogl-gst-plugin.c cogl-gst-plugin: Use a real version number and web address 2013-06-21 19:01:35 +01:00
cogl-gst-video-sink.c cogl-gst: expose aspect ratio apis 2013-06-21 19:06:59 +01:00
cogl-gst-video-sink.h cogl-gst: expose aspect ratio apis 2013-06-21 19:06:59 +01:00
cogl-gst.h Include CoglGst 2013-06-21 18:57:24 +01:00
cogl-gst.pc.in cogl-gst: pedantic typo fix in pkg-config description 2013-06-21 18:59:49 +01:00
Makefile.am cogl-gst: Add a functions to facilitate layering 2013-06-21 19:03:04 +01:00