webmux: fix linking with shout2send element
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 30 Nov 2012 17:20:18 +0000 (17:20 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 30 Nov 2012 17:22:34 +0000 (17:22 +0000)
commit672ab8fb5b653b5b64d8d596b5a5c24819d2ed32
tree5003c1d277b9abec311fc99c71f13e533774ec32
parent64cdbb77a92f0008c5399f49fe10cbc444436846
webmux: fix linking with shout2send element

Shout2send only accepts webm format, not matroska, but due
to a bug in matroskamux, webmmux's source pad is also created
with the matroska source pad template as pad template, which
makes the link function think it can't link webmmux to shout2send.

Also add unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=689336
gst/matroska/matroska-mux.c
tests/check/elements/matroskamux.c