[Bug 722343] waylandsink: fix surface width/height when caps have changed
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jan 28 08:36:20 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=722343
GStreamer | gst-plugins-bad | 1.x
Benjamin Gaignard <benjamin.gaignard> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #266474|0 |1
is obsolete| |
--- Comment #4 from Benjamin Gaignard <benjamin.gaignard at gmail.com> 2014-01-28 16:36:14 UTC ---
Created an attachment (id=267416)
View: https://bugzilla.gnome.org/attachment.cgi?id=267416
Review: https://bugzilla.gnome.org/review?bug=722343&attachment=267416
waylandsink: allow window resizing
Weston allow to resize the window by keeping pressed CTRL + middle button.
waylandsink then receive configure event with new width and height so before
display a new buffer send a reconfigure event to try to negotiate new caps with
upstream element.
Wayland assume that the buffer size is equal to the surface to fill so we need
to renegotiate new caps and we can't do resize inside the server like
XVimagesink can do.
I have make shm_pool creation/destruction depend of wayland life instead of
mixing it with sink life.
I have also some clean up around in sink width/height field.
gst-play with files with different resolution is also working now.
--
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