You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi There
I am using c2play with an Odroid N2 with Linux 18.04.02 Minimal. The output medium is a 10" screen with a resolution of 1280x800. (There are no 16:9 proportions for small monitors.) On which I would like to play a video full screen, meaning filling all 1280x800 pixels without any letterboxing or black stripes.
Playing a 1280x720 (or 1920x1080) video understandably produces a black stripe above and below the video. Playing a 1280x800 video, which ideally would fill the entire screen, additionally produces a black stripe left and right of the video.
If one would want to add an argument for the output surface size, how would that be done easiest?
In /src/main.cpp on line 370 there is CompositorSPTR compositor = std::make_shared<Compositor>(renderContext, 1920, 1080);
Would it be enough to replace the hard coded renderContext width=1920 and height=1080 with variables?
Thank you
The text was updated successfully, but these errors were encountered:
Hi There
I am using c2play with an Odroid N2 with Linux 18.04.02 Minimal. The output medium is a 10" screen with a resolution of 1280x800. (There are no 16:9 proportions for small monitors.) On which I would like to play a video full screen, meaning filling all 1280x800 pixels without any letterboxing or black stripes.
Playing a 1280x720 (or 1920x1080) video understandably produces a black stripe above and below the video. Playing a 1280x800 video, which ideally would fill the entire screen, additionally produces a black stripe left and right of the video.
If one would want to add an argument for the output surface size, how would that be done easiest?
In /src/main.cpp on line 370 there is
CompositorSPTR compositor = std::make_shared<Compositor>(renderContext, 1920, 1080);
Would it be enough to replace the hard coded renderContext width=1920 and height=1080 with variables?
Thank you
The text was updated successfully, but these errors were encountered: