diracenc: Fix caps unlinked negotiation
authorJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 20:11:18 +0000 (21:11 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 20:13:41 +0000 (21:13 +0100)
commit38b949fe6f4e55b5b38674ea551aa46f20785bc0
tree9b87eead1e3030f4cac0cfb197b6fe93436a9fe5
parentf80e4a71814511af70478dd7fa012ea5c871e84e
diracenc: Fix caps unlinked negotiation

move caps related code to gst_dirac_enc_set_format, and
use the source pad template to get allowed caps when there is
no peer pad.
ext/dirac/gstdiracenc.cc