[clutter-gst/clutter-gst-3.0] video-sink: ensure we always pull the most up to date frame information



commit 6b69b6d81082b6b57773ac2d2ae0460cb0190334
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Fri Nov 4 00:41:39 2016 +0000

    video-sink: ensure we always pull the most up to date frame information

 clutter-gst/clutter-gst-video-sink.c |    3 ++-
 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);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]