[gstreamer-bugs] [Bug 342268] add 'subtitle-encoding' property in playbin plugin
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed May 24 02:34:07 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342268
GStreamer | gst-plugins-base | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #65889|none |needs-work
Flag| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
------- Comment #3 from Tim-Philipp Müller 2006-05-24 09:34 UTC -------
I think the way the subparse elements to operate on are found needs some more
work.
You should probably listen to decodebin's "element-added" and "element-removed"
signals (and to the same signals on playbin itself), and then
* in the element-added callback check whether the element added has a
subtitle-encoding property and if yes, add it to a GList of such
elements (and set the current encoding if any is set).
* in the element-removed callback, check if the element is in that
list and remove it from the list if so.
* when the property on playbin is changed, just walk the list and
g_object_set_value() on all elements in there.
--
Configure bugmail: http://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