gst/playback/gstdecodebin2.c: Cleanups.
authorEdward Hervey <bilboed@bilboed.com>
Mon, 22 Jan 2007 17:37:38 +0000 (17:37 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 22 Jan 2007 17:37:38 +0000 (17:37 +0000)
commita5146c90370af50ca2254aa9d6b600122ef78dec
tree140601c59e630d62a5cb3ba8b4043b639013679f
parent7861683872ad1f13763e4fad5e372a075677503f
gst/playback/gstdecodebin2.c: Cleanups.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_group_new),
(get_current_group), (group_demuxer_event_probe),
(gst_decode_group_expose), (deactivate_free_recursive),
(gst_decode_group_free):
Cleanups.
Don't forget to emit 'no-more-pads' once a group is exposed.
Cleanup elements from a DecodeGroup once we remove it.
Protect call to gst_decode_group_expose() with the decodebin lock.
ChangeLog
gst/playback/gstdecodebin2.c