encoding-profile: Fix deserialization of a single profile
authorThibault Saunier <tsaunier@igalia.com>
Mon, 23 Apr 2018 19:50:26 +0000 (16:50 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 1 May 2018 19:15:25 +0000 (21:15 +0200)
commit77b23ea0aceffafc0173ec3678c952baabe7c0b0
tree3e558efeb320aebed0db811737cbaa68ca7388c7
parent9ce8cf89ba2d2047b4735f8a834d4659d12f91d1
encoding-profile: Fix deserialization of a single profile

Instead of trying to guess what profile to build, just get the possible
elements to use with the specified caps and determine the
EncodingProfile from it.

https://bugzilla.gnome.org/show_bug.cgi?id=795490
gst-libs/gst/pbutils/encoding-profile.c