splitmuxsink: pad request fails for flvmux
authorVinod Kesti <vinodkesti@yahoo.com>
Wed, 16 Nov 2016 05:23:51 +0000 (10:53 +0530)
committerJan Schmidt <jan@centricular.com>
Thu, 17 Nov 2016 12:19:44 +0000 (23:19 +1100)
commit11fd0e612047debf797889bbbf8c69d56d8a4386
tree3fee960ddac2ccc210b1db0f81f6770399010f50
parent28995f3527c286d7414074e26180ef4445e1419a
splitmuxsink: pad request fails for flvmux

splitmuxsink requests pad from element using pad template like "video_%u", "audio_%u" and "sink_%d". This is true for most of the muxers.
But splitmuxsink not able to request pad to flvmux as flvmux has "audio" and "video" as pad templates.
fix: splitmuxsink should fallback to "audio" and  "video" when template not found.

https://bugzilla.gnome.org/show_bug.cgi?id=774507
gst/multifile/gstsplitmuxsink.c