]> git.nihav.org Git - nihav.git/commitdiff
vp3: codec outputs flipped frames
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 10 Dec 2019 17:39:48 +0000 (18:39 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 10 Dec 2019 17:39:48 +0000 (18:39 +0100)
nihav-duck/src/codecs/vp3.rs

index acb783f21d9143eecb029ec0132116daf98ea9ea..c363d9770f41cf230cf43769d0d7acb90a96a0fd 100644 (file)
@@ -1794,7 +1794,7 @@ impl NADecoder for VP34Decoder {
             let myinfo = NACodecTypeInfo::Video(NAVideoInfo::new(vinfo.get_width(), vinfo.get_height(), true, fmt));
             self.info = NACodecInfo::new_ref(info.get_name(), myinfo, info.get_extradata()).into_ref();
             supp.pool_u8.set_dec_bufs(3);
-            supp.pool_u8.prealloc_video(NAVideoInfo::new(vinfo.get_width(), vinfo.get_height(), false, fmt), 4)?;
+            supp.pool_u8.prealloc_video(NAVideoInfo::new(vinfo.get_width(), vinfo.get_height(), true, fmt), 4)?;
 
             self.generate_block_addr();
             if self.version == 4 {