dec: fix for new alignment values

This commit is contained in:
Wim Taymans 2011-06-10 17:56:27 +02:00
parent 888a1c0e5e
commit e31b9c8295

View file

@ -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)