mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
5faed43f29
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)
33 lines
799 B
Plaintext
33 lines
799 B
Plaintext
<SECTION>
|
|
<FILE>cogl-gst-video-sink</FILE>
|
|
<TITLE>CoglGstVideoSink</TITLE>
|
|
|
|
<SUBSECTION>
|
|
CoglGstVideoSink
|
|
CoglGstVideoSinkClass
|
|
cogl_gst_video_sink_new
|
|
cogl_gst_video_sink_set_context
|
|
cogl_gst_video_sink_get_pipeline
|
|
cogl_gst_video_sink_attach_frame
|
|
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
|
|
COGL_GST_IS_VIDEO_SINK_CLASS
|
|
COGL_GST_VIDEO_SINK
|
|
COGL_GST_VIDEO_SINK_CLASS
|
|
COGL_GST_TYPE_VIDEO_SINK
|
|
COGL_GST_VIDEO_SINK_GET_CLASS
|
|
<SUBSECTION Private>
|
|
CoglGstVideoSinkPrivate
|
|
cogl_gst_video_sink_get_type
|
|
|
|
</SECTION>
|