summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2016-11-04 00:41:39 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2016-11-04 00:41:39 +0000
commit6b69b6d81082b6b57773ac2d2ae0460cb0190334 (patch)
tree7e6daf9c8e04475c67260e0016d9f96e64c493e9
parenta5307f76c7945b00a773054234f51c624fb2c129 (diff)
downloadclutter-gst-6b69b6d81082b6b57773ac2d2ae0460cb0190334.tar.gz
video-sink: ensure we always pull the most up to date frame information
-rw-r--r--clutter-gst/clutter-gst-video-sink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 7a5a0ba..d1829b0 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -2554,7 +2554,6 @@ clutter_gst_video_sink_is_ready (ClutterGstVideoSink *sink)
*
* Since: 3.0
*/
-
ClutterGstFrame *
clutter_gst_video_sink_get_frame (ClutterGstVideoSink *sink)
{
@@ -2592,6 +2591,8 @@ clutter_gst_video_sink_get_frame (ClutterGstVideoSink *sink)
}
else if (priv->frame_dirty)
{
+ clutter_gst_video_resolution_from_video_info (&priv->clt_frame->resolution,
+ &priv->info);
clutter_gst_video_sink_attach_frame (sink, priv->clt_frame->pipeline);
}