From a7d88b0898f6c513cef5d62adc36da15a8ec53f7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Aug 2011 15:18:14 +0200 Subject: [PATCH] x11: remove useless alignment --- sys/ximage/ximagesink.c | 4 ++-- sys/xvimage/xvimagesink.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 100dff4969..610e47a8cc 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1472,12 +1472,12 @@ gst_ximagesink_setup_allocation (GstBaseSink * bsink, GstQuery * query) size = info.size; config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 15); + gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 0); if (!gst_buffer_pool_set_config (pool, config)) goto config_failed; } /* we need at least 2 buffer because we hold on to the last one */ - gst_query_set_allocation_params (query, size, 2, 0, 0, 15, pool); + gst_query_set_allocation_params (query, size, 2, 0, 0, 0, pool); /* we also support various metadata */ gst_query_add_allocation_meta (query, GST_META_API_VIDEO); diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 433fb06c63..6dbe81b126 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1986,12 +1986,12 @@ gst_xvimagesink_setup_allocation (GstBaseSink * bsink, GstQuery * query) size = info.size; config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 15); + gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 0); if (!gst_buffer_pool_set_config (pool, config)) goto config_failed; } /* we need at least 2 buffer because we hold on to the last one */ - gst_query_set_allocation_params (query, size, 2, 0, 0, 15, pool); + gst_query_set_allocation_params (query, size, 2, 0, 0, 0, pool); /* we also support various metadata */ gst_query_add_allocation_meta (query, GST_META_API_VIDEO);