encoding-profile: Recurse into nested container profiles and only add the final audio...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 28 Apr 2016 08:21:47 +0000 (11:21 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 29 Apr 2016 07:12:06 +0000 (10:12 +0300)
commite2bde252a66881b2d27b093bcedf96325729179a
tree5a7ddc929c91ac20ab7f172ebbdba3c44dfc5323
parent4c2e7ae05187a90a33433e1628fac7447a3b709a
encoding-profile: Recurse into nested container profiles and only add the final audio/video streams

If we e.g. have AVI with DV container with video/audio inside the DV
container, we can't handle this at this point with an encoding profile.
Instead of erroring out, flatten the container hierarchy.

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