[Bug 701319] New: input-selector: pads don't notify when "active" changes
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 30 16:29:01 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=701319
GStreamer | gstreamer (core) | git
Summary: input-selector: pads don't notify when "active"
changes
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: self at brendanlong.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=245685)
--> (https://bugzilla.gnome.org/attachment.cgi?id=245685)
Hook up callbacks for notify::tags and notify::active and see that
notify::active doesn't do anything
input-selector's pads don't notify when the "active" property changes.
I had assumed it was as simple as changing the two cases of:
g_object_notify (G_OBJECT (sel), "active-pad");
To:
g_object_notify (G_OBJECT (sel), "active-pad");
if (prev_active_sinkpad)
g_object_notify (G_OBJECT (prev_active_sinkpad), "active");
if (active_sinkpad)
g_object_notify (G_OBJECT (active_sinkpad), "active");
But that causes memory corruption..
--
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