[gstreamer-bugs] [Bug 596078] New: Playbin2 takes ref of audio-/video-sink parameter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 23 06:23:21 PDT 2009


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

           Summary: Playbin2 takes ref of audio-/video-sink parameter
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mail at jensge.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


#include <gst/gst.h>

gint
main (gint argc, gchar **argv)
{
  GstElement *playbin = NULL, *fakesink = NULL;
  GMainLoop *loop;

  gst_init (NULL, NULL);

  playbin = gst_element_factory_make ("playbin2", NULL);
  fakesink = gst_element_factory_make ("fakesink", NULL);
  g_object_set (G_OBJECT (playbin), "audio-sink", fakesink, NULL);

  gst_object_unref (playbin);
  gst_object_unref (fakesink);

  return 0;
}

=> GStreamer-CRITICAL **: gst_object_unref: assertion `((GObject *)
object)->ref_count > 0' failed

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