mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 01:32:42 +00:00
dec: fix for new alignment values
This commit is contained in:
parent
888a1c0e5e
commit
e31b9c8295
1 changed files with 2 additions and 2 deletions
|
@ -1185,7 +1185,7 @@ gst_ffmpegdec_bufferpool (GstFFMpegDec * ffmpegdec, GstCaps * caps)
|
||||||
ffmpegdec->context->width, ffmpegdec->context->height);
|
ffmpegdec->context->width, ffmpegdec->context->height);
|
||||||
min = max = 0;
|
min = max = 0;
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
alignment = 16;
|
alignment = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pool == NULL) {
|
if (pool == NULL) {
|
||||||
|
@ -1195,7 +1195,7 @@ gst_ffmpegdec_bufferpool (GstFFMpegDec * ffmpegdec, GstCaps * caps)
|
||||||
|
|
||||||
config = gst_buffer_pool_get_config (pool);
|
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, 0,
|
||||||
MAX (alignment, 16));
|
MAX (alignment, 15));
|
||||||
gst_buffer_pool_set_config (pool, config);
|
gst_buffer_pool_set_config (pool, config);
|
||||||
|
|
||||||
if (ffmpegdec->pool)
|
if (ffmpegdec->pool)
|
||||||
|
|
Loading…
Reference in a new issue