[vlc-commits] theora: Force b_progressive to true

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 22 16:53:51 CET 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 22 16:47:13 2016 +0100| [05d0e404783289e7bb732e8838bfb432cc9f738e] | committer: Hugo Beauzée-Luyssen

theora: Force b_progressive to true

Since theora doesn't support interlaced material (Theora spec §1.2)

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

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

diff --git a/modules/codec/theora.c b/modules/codec/theora.c
index 8212d19..0001e20 100644
--- a/modules/codec/theora.c
+++ b/modules/codec/theora.c
@@ -527,6 +527,7 @@ static picture_t *DecodePacket( decoder_t *p_dec, ogg_packet *p_oggpacket )
     theora_CopyPicture( p_pic, ycbcr );
 
     p_pic->date = p_sys->i_pts;
+    p_pic->b_progressive = true;
 
     return p_pic;
 }



More information about the vlc-commits mailing list