mutter/examples
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
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-basic-video-player.c cogl-gst: expose aspect ratio apis 2013-06-21 19:06:59 +01:00
cogl-crate.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-emscripten-hello.c emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
cogl-gles2-context.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-gles2-gears.c Fix a warning about ‘sincos’ in examples/cogl-gles2-gears 2013-04-23 18:30:54 +01:00
cogl-hello.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
cogl-info.c Add support for per-vertex point sizes 2013-06-07 16:53:29 +01:00
cogl-msaa.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-sdl2-hello.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
cogl-sdl-hello.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
cogl-x11-foreign.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
emscripten-example-js-library.js emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
emscripten-example-js.h emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
Makefile.am Include CoglGst 2013-06-21 18:57:24 +01:00