GNOME Bugzilla – Bug 702195
playbin: Emit {audio,text,video}-changed signals when pads are removed
Last modified: 2013-06-14 12:28:20 UTC
Created attachment 246746 [details] [review] Emit *-type signals in pad_removed_cb Playbin only emits it's *-changed signals when pads are added. I assume we should also emit it when pads are removed. This caused problems for me in WebKit because we were holding onto pads after their input-selectors were deleted.
The switch is duplicated in both pieces of code, but I can't decide if it would be worthwhile to have a `get_changed_signal(GstPlaySinkType)` function.
commit b5f7a621bbbe6d5f5152083e71e77518c0991b4a Author: Brendan Long <b.long@cablelabs.com> Date: Thu Jun 13 11:08:20 2013 -0600 playbin: Emit {audio,text,video}-changed signals when pads are removed https://bugzilla.gnome.org/show_bug.cgi?id=702195