[Bug 731782] waylandsink: video position is wrong when caps change and the sink is embedded in another window

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 11 08:42:54 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731782
  GStreamer | gst-plugins-bad | git

George Kiagiadakis <george.kiagiadakis> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from George Kiagiadakis <george.kiagiadakis at collabora.com> 2014-10-11 15:42:48 UTC ---
commit 5b1c5dbf995cefa2f090522b802c3a24d639e7de
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Tue Jul 1 11:43:20 2014 +0300

    waylandsink: stack the video subsurface into another subsurface that covers
the whole render rectangle

    The main reason behind this is that when the video caps change and the
video
    subsurface needs to resize and change position, the
wl_subsurface.set_position
    call needs a commit in its parent in order to take effect. Previously,
    the parent was the application's surface, over which there is no control.
    Now, the parent is inside the sink, so we can commit it and change size
smoothly.

    As a side effect, this also allows the sink to draw its black borders on
    its own, without the need for the application to do that. And another side
    effect is that this can now allow resizing the sink when it is in top-level
    mode and have it respect the aspect ratio.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list