[gstreamer-bugs] [Bug 628996] pulsesink broken after shared context patch (bug #624338)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 8 04:25:13 PDT 2010


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

--- Comment #3 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-09-08 11:25:10 UTC ---
Created an attachment (id=169757)
 View: https://bugzilla.gnome.org/attachment.cgi?id=169757
 Review: https://bugzilla.gnome.org/review?bug=628996&attachment=169757

add asserts to trap the crash

It crashes here, pctx->context is NULL. Dunno yet why:

  /* we need a context and a no stream */
  pctx = gst_pulsering_get_context (pbuf);
  g_assert (!pbuf->stream);
  g_assert (pctx);
  g_assert (pctx->context);

  /* enable event notifications */
  GST_LOG_OBJECT (psink, "subscribing to context events");
  if (!(o = pa_context_subscribe (pctx->context,
              PA_SUBSCRIPTION_MASK_SINK_INPUT, NULL, NULL)))
    goto subscribe_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