-
Notifications
You must be signed in to change notification settings - Fork 43
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
QML: second video in playlist is stretched to the size of first played #41
Comments
Try it with fillMode:VideoOutput.PreserveAspectFit. It seems you use the Image version. |
just tried it , same behavior. I forgot to say I'm using the v5.0.0 tag. This is a really bad workaround I tried but seems it hangs after a few hours of running.
Video.qml:
|
You can use metadata information.
|
I set the Video component dimensions with: 11:21:54.377 DEBUG: MetaData request for key: Resolution. |
If you use anchor.fill you are going to get always fullscreen size. Use metadata or fixed value. PD: The above code was used on one of my project and works like a charm (tested on windows only). |
My project works well on windows and linux, even on arm utilite, now i'm trying to make it work on Raspberry. Try this over a raspberry in egl platform (not xcb): I'm saying it is a problem in libs, maybe in OMXVideo.cpp, where it should change the viewport dimensions/ratio. |
Ok, my bad. |
You should find the fix for this in the next release. For the start position issue please file another report with a description on how to reproduce (I tried to reproduce but I failed). Reopen if you find a wrong behavior also in the next release. |
First video 1920x1080, second video 1920x768
The second video is played in the viewport size of the first one when fillMode: Image.PreserveAspectFit is selected.
The text was updated successfully, but these errors were encountered: