flacenc: implement proper accept-caps
authorThiago Santos <thiagoss@osg.samsung.com>
Sun, 16 Aug 2015 16:21:41 +0000 (13:21 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sun, 16 Aug 2015 17:30:57 +0000 (14:30 -0300)
commita00546e0783f825d73b173b2fd4434fe9dbc0e4a
tree986717446bceccbc1a484d6c168286b372929f9f
parent3553493d96b651f8954aa79c8f2608e79089dbfb
flacenc: implement proper accept-caps

Should just compare with what can be immediatelly accepted by
the element. flacenc can't renegotiate so if it has a caps already
it should only accept if it is that caps otherwise just use the
template caps
ext/flac/gstflacenc.c