streamsplitter: release pending events refs
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 26 Jan 2011 15:16:58 +0000 (12:16 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 26 Jan 2011 15:52:41 +0000 (12:52 -0300)
commitb43db2f2a26973fa270a8d678a91d377ddffb846
tree48689348708bc36b6b44f7055793bfa437952f03
parentfc608d4dcd0257549c6018aac9ee5c2dec52bbee
streamsplitter: release pending events refs

Unref pending events when disposing the streamsplitter.

Also refactor a little to replace a for with a g_list_foreach
gst/encoding/gststreamsplitter.c