encoding-profile: Let the user decide what preset name to use
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 5 Dec 2012 18:21:43 +0000 (15:21 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 5 Dec 2012 20:36:21 +0000 (17:36 -0300)
commit6a7f6889397206d23f5af8ba689045c727e94b39
treed101c98f129fdabc8b12ab98cb267e83787130a9
parent26d72a73f515a4a658208a3a8db41f3d07f29633
encoding-profile: Let the user decide what preset name to use

It was possible to decide only what #GstElement implementing #GstPreset
to use during the encoding, we can now let the user select a specific preset previously
saved using #gst_preset_save_preset specifying the name chosen when it was saved
in the gst_encoding_profile_set_preset_name.

Actually loading a preset with %NULL as a name would have always failed, so
in the current state of the API that feature is unusable

API:
  gst_encoding_profile_set_preset_name
  gst_encoding_profile_get_preset_name
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/pbutils/encoding-profile.c
gst-libs/gst/pbutils/encoding-profile.h