On Wed, Oct 07, 2020 at 09:27:20PM +0300, Jan Ekström wrote: > Fixes vf_scale outputting RGB AVFrames with limited range in > case either input or output specifically sets the range. > > Keeps the external interfaces the same, but allows us to retrieve > and set nonzero value for RGB. Additionally defines the default > value of the AVOption as -1 so we can differentiate between > attempting to force limited range and requesting the default. > --- > libswscale/options.c | 4 +- > libswscale/swscale_internal.h | 3 + > libswscale/utils.c | 160 +++++++++++++++++++++++----------- > 3 files changed, 114 insertions(+), 53 deletions(-)
This changes the output for: ./ffmpeg -i ~/tickets/4926/5611842b1f09f2_20295212.png -vf scale=34:44 file.tga same with png output That is the red looks a bit different, the filesize also changes file should be here: https://trac.ffmpeg.org/attachment/ticket/4926/5611842b1f09f2_20295212.png I dont know if the one after the patch is more or less correct, but why does your patch change this ? is that change intentional ? thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".