ffmpeg: Don't add sink pad template to the muxers when not needed.
authorJan Schmidt <thaytan@noraisin.net>
Fri, 15 May 2009 14:48:35 +0000 (15:48 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 20 May 2009 09:59:47 +0000 (10:59 +0100)
commit81e91e54c16841e5f5e501ea98827724b953795f
tree668daee6841d0fda5b823b6afba7e4446206fe4f
parentff2f62ac8a9f007a75adf27360fe617d0d98f30a
ffmpeg: Don't add sink pad template to the muxers when not needed.

If the set of caps for either audio or video is completely empty, skip
adding that pad template to the class. Some muxers only support audio-only
or video-only and otherwise end up with EMPTY caps in the pad template.
ext/ffmpeg/gstffmpegmux.c