diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2010-09-16 15:04:47 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-09-16 15:04:47 +0100 |
commit | 7dd2c2b2b78bd2146fff0f84b99b33c342632116 (patch) | |
tree | 4c9a1eb8c371696e21bf0673bc2cf797fe39ee5f /examples/video-sink.c | |
parent | f0f0310ad9fa11bf9a1bb27e91f571169354e2ae (diff) | |
download | clutter-gst-7dd2c2b2b78bd2146fff0f84b99b33c342632116.tar.gz |
video-texture: Respect the pixel aspect ratio of the incoming frames
Video frames come with a pixel-aspect-ratio cap that tells the sink what
should be the final size of the video.
This information is now given to ClutterGstVideoTexture that derives the
preferred width and height based on the base size of the frames and that
pixel-aspect-ratio.
A new debug category "aspect-ratio" has been created to trace what
Diffstat (limited to 'examples/video-sink.c')
-rw-r--r-- | examples/video-sink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/video-sink.c b/examples/video-sink.c index 0391572..1e7fefc 100644 --- a/examples/video-sink.c +++ b/examples/video-sink.c @@ -93,7 +93,6 @@ main (int argc, char *argv[]) * efficient/corrent playback onto the texture (which sucks a bit) */ texture = g_object_new (CLUTTER_TYPE_TEXTURE, - "sync-size", FALSE, "disable-slicing", TRUE, NULL); |