projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff579a7
)
waylandsink: Properly configure internal pool
author
Arun Raghavan
<arun@arunraghavan.net>
Thu, 29 Sep 2016 16:49:39 +0000
(12:49 -0400)
committer
Nicolas Dufresne
<nicolas.dufresne@collabora.com>
Thu, 13 Oct 2016 16:10:51 +0000
(12:10 -0400)
There was a small omission in the code. It still worked, but the pool
configuration may not have been optimimal.
ext/wayland/gstwaylandsink.c
patch
|
blob
|
history
diff --git
a/ext/wayland/gstwaylandsink.c
b/ext/wayland/gstwaylandsink.c
index
6e7510b
..
4b39ae1
100644
(file)
--- a/
ext/wayland/gstwaylandsink.c
+++ b/
ext/wayland/gstwaylandsink.c
@@
-670,7
+670,7
@@
gst_wayland_sink_show_frame (GstVideoSink * vsink, GstBuffer * buffer)
config = gst_buffer_pool_get_config (sink->pool);
gst_buffer_pool_config_get_params (config, &caps, &size, NULL, NULL);
- gst_buffer_pool_config_set_params (config, caps, size,
0
, 0);
+ gst_buffer_pool_config_set_params (config, caps, size,
2
, 0);
/* This is a video pool, it should not fail with basic setings */
if (!gst_buffer_pool_set_config (sink->pool, config) ||