encoding-profile: Allow using factory names in serialization format
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 23 Dec 2016 17:23:48 +0000 (14:23 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 23 Dec 2016 20:40:23 +0000 (17:40 -0300)
commit51cd2bd926cc1d817299055be8e22014f2f92bfd
treee20988ccbf96281d776aac007cbadcfd14481ac0
parent998f28b65ca95e834c5f1cb6b238bc08bbadf402
encoding-profile: Allow using factory names in serialization format

Instead of enforcing the user to know and understand caps to describe
the encoding format, let him use element factory names directly.
This also makes it possible to ensure that a specific encodore/muxer
is used instead of letting the ranking system do it.

It is now possible to describe an encoding format simply specifying:

  matroskamux:x264enc:vobisenc

Factor out functions in the parsing, cleaning up the whole thing.
Update documentation.
gst-libs/gst/pbutils/encoding-profile.c