libs: decoder: at update_caps() decode codec_data
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 24 Aug 2017 19:51:22 +0000 (21:51 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 14 Sep 2017 14:58:17 +0000 (16:58 +0200)
commit2eb2b26ad8d8c3fe9233c9242ae37ebdcec89a3c
tree15babde66c8979006f1dd525fb0f8c2846bb1484
parent9875c0d84e5c95695d0566ca44bbbc8b42f5a146
libs: decoder: at update_caps() decode codec_data

When updating the caps in decoder, if the caps has codec_data (avC
format), it has to be parsed to update the state of the decoder.

https://bugzilla.gnome.org/show_bug.cgi?id=786173
gst-libs/gst/vaapi/gstvaapidecoder.c