>+    bytestream_put_byte  (&buf, 0);             // primaries
>+    bytestream_put_byte  (&buf, 0);             // transfer function
>+    bytestream_put_byte  (&buf, 6);             // colour matrix - ITU-R
BT.601-4
>+    bytestream_put_byte  (&buf, 0x40);          // source format and
alpha information

Nit: you should set these correctly from AVCodeccontext imo
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to