On Mon, 27 Jun 2022 10:03:55 +0300 Jan Ekström <jee...@gmail.com> wrote: > On Tue, Jun 21, 2022 at 10:46 PM Niklas Haas <ffm...@haasn.xyz> wrote: > > > > From: Niklas Haas <g...@haasn.dev> > > > > GL and Metal cache the state at time of texture creation. GLES2 and > > Direct3D 11 use the state at time of the render copy call. > > > > So the only way we can get the correct behavior consistently is by > > making sure the state is set for both the upload *and* the draw call. > > This probably isn't our bug to fix (upstream should make itself behave > > consistently and also document its functions), but as it stands, > > `ffplay` is misrendering BT.709 as BT.601 on my stock Linux system, and > > that leaves a bad taste in my mouth. > > > > Signed-off-by: Niklas Haas <g...@haasn.dev> > > --- > > Moves the color space setting earlier, as well as clears the state in > case of an additional failure exit case with upload. > > LGTM. > > Jan
Merged. _______________________________________________ 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".