diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-12-07 17:54:22 -0500 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2015-12-10 14:39:24 +0000 |
commit | 0eabcb1526d0e32665f036652cacf0f0ce052dca (patch) | |
tree | 16bab3ae0475d1e48a6f8d22705cf224c18dd1a9 | |
parent | ba7d2b9158cd2b244628c6f5e0f2f43472a08d1b (diff) | |
download | clutter-gst-0eabcb1526d0e32665f036652cacf0f0ce052dca.tar.gz |
video-sink: Ensure uploaded frame are displayed
This is fixed by making the uploading source equen priority to
the redraws. This is important, as Texture2D upload on slow memory
system can take a lot of time. You still want your UI to be
responsive (being able to show controls, resize, etc.) and not spend all
the time uploading. Ideally, we want exactly one upload per render but
we don't have that much control. A lower priority makes the video jitter
when there is overlayed animation happening.
https://bugzilla.gnome.org/show_bug.cgi?id=759208
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index 9995e4f..19c16e2 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -91,7 +91,7 @@ GST_DEBUG_CATEGORY_STATIC (clutter_gst_video_sink_debug); #define GST_CAT_DEFAULT clutter_gst_video_sink_debug -#define CLUTTER_GST_DEFAULT_PRIORITY G_PRIORITY_HIGH_IDLE +#define CLUTTER_GST_DEFAULT_PRIORITY CLUTTER_PRIORITY_REDRAW #define BASE_SINK_CAPS "{ AYUV," \ "YV12," \ |