Bug 158980

Summary: [GStreamer] top/bottom black bars added needlessly in fullscreen
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, pnormand, yoon
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[GStreamer] Trigger video resize upon first sample rendering cgarcia: review+

Philippe Normand
Reported 2016-06-21 02:31:12 PDT
When playing a 1280x720 video fullscreen on a monitor with the same resolution we should see the video fullscreen without top/bottom black bars. It seems this regression was added in r201076.
Attachments
[GStreamer] Trigger video resize upon first sample rendering (2.62 KB, patch)
2016-06-21 02:34 PDT, Philippe Normand
cgarcia: review+
Philippe Normand
Comment 1 2016-06-21 02:34:28 PDT
Created attachment 281725 [details] [GStreamer] Trigger video resize upon first sample rendering The natural video size calculation depends on the validity of the current sample, so whenever the first sample reached the sink it's a good idea to reflect this on the player which will update its natural size accordingly. Fixes an issue where black borders were added on top and bottom of fullscreen video.
Philippe Normand
Comment 2 2016-06-27 02:22:38 PDT
Note You need to log in before you can comment on or make changes to this bug.