[Webkit-unassigned] [Bug 219493] New: [GStreamer] Fix video losing size at the end of the stream

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 3 09:24:42 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219493

            Bug ID: 219493
           Summary: [GStreamer] Fix video losing size at the end of the
                    stream
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: bugs-noreply at webkitgtk.org

sue where at the end of the video the
tracks would be erased, causing the video to lose its size and by
extension its aspect ratio.

In absence of a size, WebKit uses the default video size defined by
the spec of 300x150 (2:1 aspect ratio). This causes a video element
that doesn't have a size set through CSS to shrink to that size at the
end of playback, and also for black bars to appear on wider content
(e.g. 16:9 video) when watched in full screen mode.

This patch fixes the problem by not removing the tracks after an end
of stream, and instead reusing them with different pads the next time
the video is played.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201203/f5053050/attachment.htm>


More information about the webkit-unassigned mailing list