[vlc-commits] chain: fix insufficient recursion

Rémi Denis-Courmont git at videolan.org
Mon Jun 5 19:58:37 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun  5 20:49:39 2017 +0300| [f88517505af6f06a88568b5e5568a2d5ffd02925] | committer: Rémi Denis-Courmont

chain: fix insufficient recursion

This fixes indirect chroma conversion (i.e. when swscale cannot do the
conversion entirely).

Regression from ca546680f40671c502de8bb8c733f2c149f7b2f5.

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

 modules/video_chroma/chain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/chain.c b/modules/video_chroma/chain.c
index 3cd4e9f544..9d418874ea 100644
--- a/modules/video_chroma/chain.c
+++ b/modules/video_chroma/chain.c
@@ -91,7 +91,7 @@ static picture_t *BufferNew( filter_t *p_filter )
     return filter_NewPicture( p_parent );
 }
 
-#define CHAIN_LEVEL_MAX 1
+#define CHAIN_LEVEL_MAX 2
 
 /*****************************************************************************
  * Activate: allocate a chroma function



More information about the vlc-commits mailing list