Commit 76f56606 authored by Nathan Egge's avatar Nathan Egge

Rewrite the y4m header to match aomdec.

parent c5622d89
...@@ -66,8 +66,8 @@ static int y4m2_open(Y4m2OutputContext *const c, const char *const file, ...@@ -66,8 +66,8 @@ static int y4m2_open(Y4m2OutputContext *const c, const char *const file,
chr_names_8bpc_i420[p->chr > 2 ? DAV1D_CHR_UNKNOWN : p->chr] : chr_names_8bpc_i420[p->chr > 2 ? DAV1D_CHR_UNKNOWN : p->chr] :
ss_names[p->layout][p->bpc > 8]; ss_names[p->layout][p->bpc > 8];
fprintf(c->f, "YUV4MPEG2 W%d H%d C%s Ip F%d:%d\n", fprintf(c->f, "YUV4MPEG2 W%d H%d F%d:%d Ip C%s\n",
p->w, p->h, ss_name, fps[0], fps[1]); p->w, p->h, fps[0], fps[1], ss_name);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment