mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
ffdec: small cleanups
We can use or to calculate the max alignment
This commit is contained in:
parent
e31b9c8295
commit
fcf5e53055
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ gst_ffmpegdec_bufferpool (GstFFMpegDec * ffmpegdec, GstCaps * caps)
|
|||
|
||||
config = gst_buffer_pool_get_config (pool);
|
||||
gst_buffer_pool_config_set (config, caps, size, min, max, prefix, 0,
|
||||
MAX (alignment, 15));
|
||||
alignment | 15);
|
||||
gst_buffer_pool_set_config (pool, config);
|
||||
|
||||
if (ffmpegdec->pool)
|
||||
|
|
Loading…
Reference in a new issue