[Bug 763142] New: API: add async property change notification - gst_element_add_property_notify_watch()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Mar 5 18:05:32 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763142
Bug ID: 763142
Summary: API: add async property change notification -
gst_element_add_property_notify_watch()
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: t.i.m at zen.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 323156
--> https://bugzilla.gnome.org/attachment.cgi?id=323156&action=edit
element: add API to get property change notifications via messages
I always thought it'd be nice if we had some helper API to receive GObject
property notifications such as playbin notify::volume via the bus instead of
callbacks from a non-application thread.
This adds API for that.
Open question: should we merge add_property_notify_watch() and _add_deep_...()
? That would mean changing the gboolean include_value into a flags argument
with flags for include_value and recursive notification.
---
Be notified in the application thread via bus messages about
notify::* and deep-notify::* property changes, instead of
having to deal with it in a non-application thread.
API: gst_element_add_property_notify_watch()
API: gst_element_add_property_deep_notify_watch()
API: gst_element_remove_property_notify_watch()
API: gst_message_new_property_notify()
API: gst_message_parse_property_notify()
API: GST_MESSAGE_NOTIFY_PROPERTY
--
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