After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796882 - glimagesink rendering in Weston always show video playback in small window size
glimagesink rendering in Weston always show video playback in small window size
Status: RESOLVED DUPLICATE of bug 789384
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.14.1
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-27 09:56 UTC by Soon, Thean Siew
Modified: 2018-07-27 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glimagesink: render window according to video size (2.00 KB, patch)
2018-07-27 10:02 UTC, Soon, Thean Siew
none Details | Review

Description Soon, Thean Siew 2018-07-27 09:56:33 UTC
glimagesink rendering in Weston always show video in 320x240 window size, despite the video resolution. 


Command used: 
--------------
# GST_GL_PLATFORM=egl gst-launch-1.0 filesrc location=/home/root/videos/Elecard1_3840x2160_8mbps_30fps_High_at_L5.1_short.mp4 ! qtdemux ! h264parse ! vaapih264dec ! videoconvert ! glimagesink

# GST_GL_PLATFORM=egl gst-launch-1.0 filesrc location=/home/root/videos/Elecard1_3840x2160_8mbps_30fps_High_at_L5.1_short.mp4 ! qtdemux ! h264parse ! vaapih264dec ! vaapipostproc width=1280 height=720 ! glimagesink


Added set_preferred_size implementation for egl window wayland allow the video width and height to be used to draw the window according to the corresponding video size.
Comment 1 Soon, Thean Siew 2018-07-27 10:02:18 UTC
Created attachment 373179 [details] [review]
glimagesink: render window according to video size
Comment 2 Matthew Waters (ystreet00) 2018-07-27 10:03:09 UTC

*** This bug has been marked as a duplicate of bug 789384 ***