[vlc-commits] picture_BlendSubpicture: comment assert on chroma incompatibility

Jean-Baptiste Kempf git at videolan.org
Mon Dec 5 01:41:03 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  5 01:38:36 2011 +0100| [e7992d0f28d142be25c24981c41dcbbe427693c7] | committer: Jean-Baptiste Kempf

picture_BlendSubpicture: comment assert on chroma incompatibility

Asserted when J42* blended on I42*, for example

Close #5516

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7992d0f28d142be25c24981c41dcbbe427693c7
---

 src/misc/picture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/picture.c b/src/misc/picture.c
index a79c5b8..a9dfe19 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -400,7 +400,7 @@ 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(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) {



More information about the vlc-commits mailing list