avvidenc: Make sure to fixate caps before setting them on the pad
authorSebastian Dröge <sebastian@centricular.com>
Sat, 21 Jun 2014 16:29:32 +0000 (18:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 21 Jun 2014 16:29:32 +0000 (18:29 +0200)
commite42cc965668b92ec5e4f062124f9c50e1da65fcd
tree0b8baed991ba15a887a0509e4bbc4c8e49d258e0
parent57b1970395d8bd79fbea761dbde7f3ccab84ac1c
avvidenc: Make sure to fixate caps before setting them on the pad

After the recent addition of negotiation support for MPEG4 part 2
profiles via caps it can happen that the generated caps at this
point still contain multiple profiles. For example if downstream
does not care. Just fixate anything here and use those caps.
ext/libav/gstavvidenc.c