[vlc-commits] daala: fix bit-depth issue in encoding

Tristan Matthews git at videolan.org
Wed Mar 30 18:17:13 CEST 2016


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Mar 30 09:52:35 2016 -0400| [7298892a4c4d93823d39e86115baa3f55df604eb] | committer: Tristan Matthews

daala: fix bit-depth issue in encoding

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

 modules/codec/daala.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/daala.c b/modules/codec/daala.c
index d917b6d..41a1b6c 100644
--- a/modules/codec/daala.c
+++ b/modules/codec/daala.c
@@ -739,6 +739,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
         img.planes[i].ydec = p_sys->di.plane_info[i].ydec;
         img.planes[i].xstride = 1;
         img.planes[i].ystride = p_pict->p[i].i_pitch;
+        img.planes[i].bitdepth = 8; /*FIXME: support higher bit depths*/
     }
 
     if( daala_encode_img_in( p_sys->dcx, &img, 0 ) < 0 )



More information about the vlc-commits mailing list