diff --git a/ext/libvisual/visual.c b/ext/libvisual/visual.c index 9bbe72ef9d..3d123006d6 100644 --- a/ext/libvisual/visual.c +++ b/ext/libvisual/visual.c @@ -456,7 +456,7 @@ gst_vis_src_negotiate (GstVisual * visual) pool = gst_buffer_pool_new (); config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, target, size, min, max, prefix, 0, + gst_buffer_pool_config_set (config, target, size, min, max, prefix, alignment); gst_buffer_pool_set_config (pool, config); } diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 36aac523fb..15462b040a 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -819,7 +819,7 @@ theora_negotiate_pool (GstTheoraDec * dec, GstCaps * caps) pool = gst_buffer_pool_new (); config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, min, max, prefix, 0, + gst_buffer_pool_config_set (config, caps, size, min, max, prefix, alignment); gst_buffer_pool_set_config (pool, config); } diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index c51821382d..713c0b8343 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -705,7 +705,7 @@ gst_video_test_src_setcaps (GstBaseSrc * bsrc, GstCaps * caps) pool = gst_buffer_pool_new (); config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, min, max, prefix, 0, + gst_buffer_pool_config_set (config, caps, size, min, max, prefix, alignment); gst_buffer_pool_set_config (pool, config); } diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c index 5a7d5334aa..bccb56985e 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -459,8 +459,7 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) gint width, height; const GstCaps *caps; - if (!gst_buffer_pool_config_get (config, &caps, NULL, NULL, NULL, NULL, - NULL, NULL)) + if (!gst_buffer_pool_config_get (config, &caps, NULL, NULL, NULL, NULL, NULL)) goto wrong_config; if (caps == NULL) diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 46903fbdd4..e1581f763c 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1138,7 +1138,7 @@ gst_ximagesink_setcaps (GstBaseSink * bsink, GstCaps * caps) newpool = gst_ximage_buffer_pool_new (ximagesink); structure = gst_buffer_pool_get_config (newpool); - gst_buffer_pool_config_set (structure, caps, 0, 0, 0, 0, 0, 16); + gst_buffer_pool_config_set (structure, caps, 0, 0, 0, 0, 16); if (!gst_buffer_pool_set_config (newpool, structure)) goto config_failed; @@ -1434,7 +1434,7 @@ gst_ximagesink_sink_query (GstPad * sinkpad, GstQuery * query) /* we had a pool, check caps */ config = gst_buffer_pool_get_config (pool); gst_buffer_pool_config_get (config, &pcaps, &size, NULL, NULL, NULL, - NULL, NULL); + NULL); GST_DEBUG_OBJECT (ximagesink, "we had a pool with caps %" GST_PTR_FORMAT, pcaps); @@ -1459,7 +1459,7 @@ gst_ximagesink_sink_query (GstPad * sinkpad, GstQuery * query) size = gst_video_format_get_size (format, width, height); config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 0, 16); + gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 16); if (!gst_buffer_pool_set_config (pool, config)) goto config_failed; } diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c index 36ba4162ba..2dce671aae 100644 --- a/sys/xvimage/xvimagepool.c +++ b/sys/xvimage/xvimagepool.c @@ -495,8 +495,7 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) gint width, height; const GstCaps *caps; - if (!gst_buffer_pool_config_get (config, &caps, NULL, NULL, NULL, NULL, - NULL, NULL)) + if (!gst_buffer_pool_config_get (config, &caps, NULL, NULL, NULL, NULL, NULL)) goto wrong_config; if (caps == NULL) diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 87cacf137f..657a084baa 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1685,7 +1685,7 @@ gst_xvimagesink_setcaps (GstBaseSink * bsink, GstCaps * caps) newpool = gst_xvimage_buffer_pool_new (xvimagesink); structure = gst_buffer_pool_get_config (newpool); - gst_buffer_pool_config_set (structure, caps, 0, 0, 0, 0, 0, 16); + gst_buffer_pool_config_set (structure, caps, 0, 0, 0, 0, 16); if (!gst_buffer_pool_set_config (newpool, structure)) goto config_failed; @@ -1996,7 +1996,7 @@ gst_xvimagesink_sink_query (GstPad * sinkpad, GstQuery * query) /* we had a pool, check caps */ config = gst_buffer_pool_get_config (pool); gst_buffer_pool_config_get (config, &pcaps, &size, NULL, NULL, NULL, - NULL, NULL); + NULL); if (!gst_caps_is_equal (caps, pcaps)) { GST_DEBUG_OBJECT (xvimagesink, "pool has different caps"); @@ -2019,7 +2019,7 @@ gst_xvimagesink_sink_query (GstPad * sinkpad, GstQuery * query) size = gst_video_format_get_size (format, width, height); config = gst_buffer_pool_get_config (pool); - gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 0, 16); + gst_buffer_pool_config_set (config, caps, size, 0, 0, 0, 16); if (!gst_buffer_pool_set_config (pool, config)) goto config_failed; }