shithub: dav1d

Download patch

ref: 8f87eebe9dbd45873ddfa4a40927010c47bc6291
parent: 60ff3002e7f36ec6291a78dd7abda531b99b2257
author: Ronald S. Bultje <[email protected]>
date: Sat Jan 12 03:41:47 EST 2019

Set subsampling to 0 for RGB.

Fixes #233.

--- a/src/obu.c
+++ b/src/obu.c
@@ -229,7 +229,7 @@
                hdr->mtrx == DAV1D_MC_IDENTITY)
     {
         hdr->layout = DAV1D_PIXEL_LAYOUT_I444;
-        hdr->ss_hor = hdr->ss_ver = 1;
+        hdr->ss_hor = hdr->ss_ver = 0;
         hdr->color_range = 1;
         if (hdr->profile != 1 && !(hdr->profile == 2 && hdr->hbd == 2))
             goto error;