Commit b255571c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

picture_BlendSubpicture: remove assert on chroma incompatibility

Asserted when J42* blended on I42*, for example

Close #5516
(cherry picked from commit ac35f362851682736f1246e3b5c831e7a25e837d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b00399aa
......@@ -400,7 +400,6 @@ int picture_Export( vlc_object_t *p_obj,
void picture_BlendSubpicture(picture_t *dst,
filter_t *blend, subpicture_t *src)
{
assert(blend && dst && blend->fmt_out.video.i_chroma == dst->format.i_chroma);
assert(src && !src->b_fade && src->b_absolute);
for (subpicture_region_t *r = src->p_region; r != NULL; r = r->p_next) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment