[gstreamer-bugs] [Bug 630442] configure: Default to not use X Shm on OS X.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 23 16:37:12 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=630442
  GStreamer | gst-plugins-base | unspecified

Idar Tollefsen <itollefs> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |itollefs at cisco.com

--- Comment #3 from Idar Tollefsen <itollefs at cisco.com> 2010-09-23 23:37:09 UTC ---
While X11 comes pre-installed on OS X 10.6, and was optional on previous
versions, it's not the native windowing system (of course). Hence, it's not set
up properly, including no configuration of X Shared Memory.

Since the X11 installation used is X.org, it does have the X Shm Extension. And
this will be picked up by the configuration script by default and X Shm will be
turned on. 

It's only sys/ximage that uses X Shared Memory.

Since X Shm isn't configured properly on OS X, the ximagesink will report that
it's out of memory for any image larger than approximately 800x600. I haven't
tested to find the exact limit. It can do 800x600, but not 1024x768 (and not
720p).

By disabling X Shm, ximagesink does not have these memory problems and can
easily do higher resolutions, including 720p.

The patch preserves the ability to turn X Shm on for those that wants it. I.e.
it will now default to not use X Shm on OS X, but it can still be explicitly
requested with --enable-xshm.

-- 
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