if (gst_query_get_n_allocation_pools (query) == 0) {
GstStructure *structure;
GstAllocator *allocator = NULL;
- GstAllocationParams params = { 0, 0, 0, 15, };
+ GstAllocationParams params = { 0, 15, 0, 0 };
if (gst_query_get_n_allocation_params (query) > 0)
gst_query_parse_nth_allocation_param (query, 0, &allocator, ¶ms);
if (gst_query_get_n_allocation_pools (query) == 0) {
GstStructure *structure;
GstAllocator *allocator = NULL;
- GstAllocationParams params = { 0, 0, 0, 15, };
+ GstAllocationParams params = { 0, 15, 0, 0, };
if (gst_query_get_n_allocation_params (query) > 0)
gst_query_parse_nth_allocation_param (query, 0, &allocator, ¶ms);
GstBufferPool *newpool, *oldpool;
const GValue *par;
gint size;
- static GstAllocationParams params = { 0, 0, 0, 15, };
+ static GstAllocationParams params = { 0, 15, 0, 0, };
ximagesink = GST_XIMAGESINK (bsink);
gint display_par_n, display_par_d; /* display's PAR */
guint num, den;
gint size;
- static GstAllocationParams params = { 0, 0, 0, 15, };
+ static GstAllocationParams params = { 0, 15, 0, 0, };
xvimagesink = GST_XVIMAGESINK (bsink);