Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greenish video when video size smaller than texture #491

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Greenish video when video size smaller than texture #491

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: FreeBSD, x86

Comments on the original bug report:

On 2011-10-18 19:48:19 +0000, Unga wrote:

Created attachment 717
Its a sample video player.

Hi all

I have attached a sample video player to test this greenish issue.

Try a 1080p or 720p video. It should play with correct colours if your video display is 16:9.

After that, try a different aspect video such as Sintel (http://www.sintel.org/download) where the height of the video is shorter than your video display, then it plays in green.

I suspect SDL_UpdateTexture() is buggy.

Best regards
Unga

On 2011-12-30 15:21:36 +0000, Sam Lantinga wrote:

Fixed, thanks!
http://hg.libsdl.org/SDL/rev/b052a5882a47

On 2011-12-30 15:27:51 +0000, Sam Lantinga wrote:

Created attachment 751
Faster decoding example

I updated the test program to work with the latest version of ffmpeg and moved the scaling to the video driver where it can be done in hardware.

On 2011-12-30 15:29:01 +0000, Sam Lantinga wrote:

Created attachment 752
Quick diff between the test programs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant