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

VideoOutput shows blank screen and sound is off in multi-thread mode #26

Open
sofian opened this issue Jan 9, 2013 · 3 comments
Open

Comments

@sofian
Copy link
Owner

sofian commented Jan 9, 2013

It happens as long as you are not using the flag -DSINGLE_THREADED_PLAYBACK.

I tried running a video with a TV, pausing, adding a VideoOutput (with a ImageToTexture between). Then it doesn't crash but the VideoOutput image is blank (black) although it takes the proper width/size.

Sound playback is also flawed.

This is somehow related to issue #24.

@sofian
Copy link
Owner Author

sofian commented Jan 9, 2013

Seems to be related to the multi-threading because if I add the flag -DSINGLE_THREADED_PLAYBACK in release mode it solves the issue.

@sofian
Copy link
Owner Author

sofian commented Jan 11, 2013

When I run in multi-thread and disconnect video, the audio seems to be working. However as soon as I plug the video to an output the screen is blank and the audio stops working.
It must be an issue with OpenGL and threads (I have sound issues in single-threaded mode when I'm manipulating the GUI).

@sofian
Copy link
Owner Author

sofian commented Jan 18, 2013

I've reintegrated the old Gear_VideoOutput to test it and it works fine, so there must be some issue with the OpenGL code in the new version of Gear_VideoOutput from Foogy.

@ghost ghost assigned foogywoo Jan 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants