encodebin: Requesting a pad again now gives a g_return_val_if_fail()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 29 Mar 2011 13:41:33 +0000 (15:41 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 29 Mar 2011 13:42:50 +0000 (15:42 +0200)
commitf1f0625e97a72e78316c54c6d11846e5eccd5ffc
treeeed486443a534558985bf2594b94ea99479a1f58
parent5aa02968c9593f1144a801ffb52aef9f8fa688a0
encodebin: Requesting a pad again now gives a g_return_val_if_fail()

Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
tests/check/elements/encodebin.c