From: Jerome Jiang Date: Thu, 7 Feb 2019 18:38:14 +0000 (-0800) Subject: vp9: Write height and width to ivf header in SVC example encoder. X-Git-Tag: v1.8.1~253^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1ef3919b9f039c2536ae7fc69594be33625826a;p=libvpx vp9: Write height and width to ivf header in SVC example encoder. Write height and width of top layer to ivf header in SVC. vpxdec Can't decode it correctly when output is y4m. Change-Id: I9b2f1d54696611a30e252bdfd182897d191d92b5 --- diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c index 92b310684..a7d95361a 100644 --- a/examples/vp9_spatial_svc_encoder.c +++ b/examples/vp9_spatial_svc_encoder.c @@ -819,6 +819,8 @@ int main(int argc, const char **argv) { #endif info.codec_fourcc = VP9_FOURCC; + info.frame_width = enc_cfg.g_w; + info.frame_height = enc_cfg.g_h; info.time_base.numerator = enc_cfg.g_timebase.num; info.time_base.denominator = enc_cfg.g_timebase.den;