[FFmpeg-trac] #11300(avcodec:new): Revert deprecation of AVFrame.palette_has_changed

FFmpeg trac at avcodec.org
Thu Nov 14 09:51:58 EET 2024


#11300: Revert deprecation of AVFrame.palette_has_changed
----------------------------------+--------------------------------------
             Reporter:  xtremeqg  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Since 63767b7, AVFrame.palette_has_changed has been deprecated without
 alternative. The commit message states it was deprecated because "there
 are no known or intended uses of this field". Various formats such as
 smacker allow for per-frame palette changes and I believe this decision
 was made in error.

 I have inspected every other field of AVFrame and there is nothing to
 indicate a palette change. Our project (keeperfx) now has to either live
 with several of these warnings or assume the palette changed every frame.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11300>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list