[Bug 675134] New: [PATCH] shmsrc: add an shm-area-name property

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 30 04:44:07 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=675134
  GStreamer | gst-plugins-bad | 0.10.x

           Summary: [PATCH] shmsrc: add an shm-area-name property
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gemont at igalia.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=213096)
 View: https://bugzilla.gnome.org/attachment.cgi?id=213096
 Review: https://bugzilla.gnome.org/review?bug=675134&attachment=213096

shmsrc: add an shm-area-name property

The shm-area-property tells the name of the shm area used by the element. This
is useful for cases where shmsink is not able to clean up (calling
shm_unlink()), e.g. if it is in a sandbox.

For this patch, I had to change a bit the logic in shmpipe.c: the presence of
shm_area_name was used to make the distinction between a reading or writing
pipe, I've put an is_writer boolean there instead, so that I can ensure that
shm_area_name is here with the correct value when we are in reading mode.
Then it's just a matter of adding an accessor and using it to export a property
in shmsrc.

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