Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Test player does not render any frame on OSX #138

Open
ferjm opened this issue Dec 28, 2017 · 1 comment
Open

Test player does not render any frame on OSX #138

ferjm opened this issue Dec 28, 2017 · 1 comment

Comments

@ferjm
Copy link
Contributor

ferjm commented Dec 28, 2017

All I see is an empty application window when running the test player on OSX.

The output says: Rendered 0 frames in 5.934178627001529 seconds; 0 fps.

screen shot 2017-12-28 at 16 56 37

I believe the regression was introduce with #131 as reverting to a previous commit makes everything work as expected.

@cpearce
Copy link
Contributor

cpearce commented Jan 15, 2018

This is caused by to_ffi_planar_ycbycr_images() failing to retrieve a buffer for video frames because I forgot to include the "return" keyword in my definition of RustBufferAllocator::Allocate(). Yay unsafe code.

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

No branches or pull requests

2 participants