[clutter-gst/clutter-gst-3.0] video-sink: Ensure uploaded frame are displayed
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst/clutter-gst-3.0] video-sink: Ensure uploaded frame are displayed
- Date: Thu, 10 Dec 2015 14:40:37 +0000 (UTC)
commit 0eabcb1526d0e32665f036652cacf0f0ce052dca
Author: Nicolas Dufresne <nicolas dufresne collabora com>
Date: Mon Dec 7 17:54:22 2015 -0500
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
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," \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]