Patches for Bluez utils, modifying the sbcenc and sbcparse gstreamer plugins on utils/audio
The problem:
The pipeline "filesrc ! audioconvert ! sbcenc ! sbcparse ! fakesink" is not working
The reason:
The caps negotiation from both sbcenc and sbcparse was not working
properly, it was not resulting in a "fixed caps" (that defines one and
only one media type)
The solution:
Implement on both elements the setcaps for the sink pads.
The patch gstsbc_util.patch has to be applied first, it
creates 2 new files( a gstsbcutil.c and a gstsbcutil.h) that the
other 2 patches use. Those files implement a set of functions that both
sbcenc and sbcparse use, most of them are still to be improved,
The gstsbcenc.patch and sbcparse.patch implement the sink
setcaps function on the plugins, this function selects the better
encoding parameters from the possible ones, resulting in a "fixed caps".
I'll be waiting any questions and modification to the patches.
[]s
Thiago