mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
update for bufferpool changes
This commit is contained in:
parent
583f5d1dc7
commit
ed82d408b1
2 changed files with 2 additions and 2 deletions
|
@ -2067,7 +2067,7 @@ gst_base_video_decoder_set_src_caps (GstBaseVideoDecoder * base_video_decoder)
|
|||
base_video_decoder->pool = pool;
|
||||
|
||||
config = gst_buffer_pool_get_config (pool);
|
||||
gst_buffer_pool_config_set (config, caps, size, min, max, 0, 0, 0);
|
||||
gst_buffer_pool_config_set_params (config, caps, size, min, max);
|
||||
state->bytes_per_picture = size;
|
||||
|
||||
if (gst_query_has_allocation_meta (query, GST_VIDEO_META_API_TYPE)) {
|
||||
|
|
|
@ -726,7 +726,7 @@ gst_base_audio_visualizer_src_negotiate (GstBaseAudioVisualizer * scope)
|
|||
}
|
||||
|
||||
config = gst_buffer_pool_get_config (pool);
|
||||
gst_buffer_pool_config_set (config, target, size, min, max, 0, 0, 0);
|
||||
gst_buffer_pool_config_set_params (config, target, size, min, max);
|
||||
gst_buffer_pool_set_config (pool, config);
|
||||
|
||||
if (scope->pool) {
|
||||
|
|
Loading…
Reference in a new issue