diff options
author | Niklas Haas <git@haasn.dev> | 2025-07-23 15:09:01 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-08-11 09:38:38 +0200 |
commit | e29a99a975b722463c19d53f67e32f12f6dfe445 (patch) | |
tree | 4d9bca641d2853d990b1cfdbda6d25dead923569 /tests/ref/fate/idroq-video-encode | |
parent | 3bf8bf965fb69f873e52d34a85d1ecb722a9fe7f (diff) | |
download | ffmpeg-master.tar.gz |
This code always ignored the user-provided enc_ctx->chroma_sample_location
in favor of the location tagged on the frame. This leads to a very (IMHO)
unexpected outcome where -chroma_sample_location works differently from the
related options like -colorspace and -color_range, the latter of which
override the frame properties as a consequence of being configured on the
filter graph output.
The discrepancy comes from the fact that the chroma sample location does not
itself participate in filter graph negotiation.
Solve the situation by only overriding the enc_ctx option if it was left
unspecified by the user, and otherwise printing a warning if the requested
parameter does not match the frame parameter.
Diffstat (limited to 'tests/ref/fate/idroq-video-encode')
0 files changed, 0 insertions, 0 deletions