[Bug 734384] New: "convert-sample" returns a sample with an initial refCount of 2

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 6 14:45:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734384
  GStreamer | gstreamer (core) | 1.2.1

           Summary: "convert-sample" returns a sample with an initial
                    refCount of 2
    Classification: Platform
           Product: GStreamer
           Version: 1.2.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: opensource at keylevel.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=282745)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=282745)
Sample code showing refCount issue

Given the following pipeline:

playbin uri=http://media.w3.org/2010/05/sintel/trailer.webm

I'm calling g_signal_emit_by_name() to obtain a sample converted to a defined
format using "convert-sample".

The sample returned has an initial refCount of 2, rather than the expected
value of 1. This has been confirmed by checking the GST_OBJECT_REFCOUNT_VALUE
as soon as the sample is returned.

The code in the attached file (sorry for the hack!) demonstrates the problem.

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