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 681453 - wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis
wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.11.x
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-08 14:22 UTC by sreerenj
Modified: 2012-08-21 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis (30.43 KB, patch)
2012-08-08 14:22 UTC, sreerenj
committed Details | Review
Correct the version checking (1.05 KB, patch)
2012-08-08 14:28 UTC, sreerenj
committed Details | Review
wayland: respond to ping/pong protocol so we're not deemed unresponsive (1.79 KB, patch)
2012-08-17 08:26 UTC, sreerenj
committed Details | Review
wayland: use scale fullscreen method (959 bytes, patch)
2012-08-17 08:26 UTC, sreerenj
committed Details | Review

Description sreerenj 2012-08-08 14:22:31 UTC
Created attachment 220688 [details] [review]
wayland: More fixes based on wayland-0.95.0 and  gstreamer-1.0 apis

-- bump wayland version to 0.95.0 which will lead to stable 1.0 release
-- Avoid memcopy and use propose_allocation for GstBufferPool allocation
-- Using WaylandBufferPool
-- shm: Allocate shm buffers through new wl_shm_pool interface(the shm
    buffer allocation is a two step process now: first allocate a wl_shm_pool,    then allocate a buffer from the pool.)

*videometa handling is not yet implemented
*need more fixes here and there

But the wayland protocol/main APIs won't change much since wayland is approaching 1.0 release(stable one).
Comment 1 sreerenj 2012-08-08 14:28:51 UTC
Created attachment 220689 [details] [review]
Correct the version checking
Comment 2 sreerenj 2012-08-15 07:25:14 UTC
Any update? Is it possible to push this?
Comment 3 sreerenj 2012-08-17 08:26:14 UTC
Created attachment 221550 [details] [review]
wayland: respond to ping/pong protocol so we're not  deemed unresponsive
Comment 4 sreerenj 2012-08-17 08:26:45 UTC
Created attachment 221551 [details] [review]
 wayland: use scale fullscreen method
Comment 5 sreerenj 2012-08-17 08:28:08 UTC
Please don't squash the last two patches together with the older patches...
Comment 6 Tim-Philipp Müller 2012-08-21 09:43:02 UTC
Haven't reviewed these, but don't see a reason not to just push them for now:

commit 547d679e9ec7e008209fb8504afdfe00fa86b5bf
Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Date:   Fri Aug 17 11:12:22 2012 +0300

    wayland: use scale fullscreen method.
    
    This makes the compositor scale the surface to fit and preserves
    aspect ratio.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681453

commit dc81682f4b2adf526a185366ac5713856fa2cdee
Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Date:   Fri Aug 17 11:10:39 2012 +0300

    wayland: respond to ping/pong protocol so we're not deemed unresponsive.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681453

commit 1cc573d02f99a3e5c95e54b60ba2b3a41ed796c1
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Tue Aug 21 10:37:10 2012 +0100

    configure: fix check for wayland
    
    We only seem to need wayland-client. Also make work with
    wayland being installed in a non-default prefix by not
    overwriting/clearing WAYLAND_{CFLAGS,LIBS} for no reason
    at all.

commit c803ca4af55520e8eb7c69911491ae118c3a4fd8
Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Date:   Wed Aug 8 17:10:28 2012 +0300

    wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis
    
    - bump wayland version to 0.95.0 which will lead to stable 1.0 release
    - avoid memcopy and use propose_allocation for GstBufferPool allocation
    - using WaylandBufferPool
    - shm: Allocate shm buffers through new wl_shm_pool interface
      (the shm buffer allocation is a two step process now: first
      allocate a wl_shm_pool, then allocate a buffer from the pool)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681453
Comment 7 Tim-Philipp Müller 2012-08-21 09:44:22 UTC
Comment on attachment 220689 [details] [review]
Correct the version checking

Squashed this with the previous patch, which you could have done as well really, since you're just fixing a mistake in your own patch :)
Comment 8 sreerenj 2012-08-21 09:46:13 UTC
(In reply to comment #7)
> (From update of attachment 220689 [details] [review])
> Squashed this with the previous patch, which you could have done as well
> really, since you're just fixing a mistake in your own patch :)

That is perfectly fine... :) ..thanks for the push...!