#11436: swscale rejects files with reserved colorspace tags after filter reinit
-------------------------------------+-------------------------------------
             Reporter:  Francesco    |                    Owner:  (none)
  Bucciantini                        |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by Niklas Haas):

 * summary:  "-reinit_filter" shall ignore varying color primaries =>
     swscale rejects files with reserved colorspace tags after filter
     reinit

Comment:

 I think there are two issue here:

 One is the filter reinit somehow triggers swscale, while running on the
 isolated portion alone does not.

 The other is that swscale now rejects trc/prim=reserved. I'm not sure why
 it only triggers on filter reinit, but it's possibly to do with some other
 condition for when swscale

 In either case, to be clear, this is an illegal/broken file, as it
 contains coded values which are marked as reserved by the spec. That
 swscale now correctly rejects invalid colorspace tags instead of
 implicitly accepting them in the past is indeed a regression in
 functionality, but a fix in terms of correctness.

 As a possible resolution to the second error, what if we tie this behavior
 to e.g. "-err_detect compliant" (as an opt out), or "-err_detect
 ignore_err" (as an opt in)?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11436#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to