vaapidecodebin: delay the bin configuration
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 11 Nov 2015 15:33:24 +0000 (16:33 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 16 Nov 2015 15:07:07 +0000 (16:07 +0100)
commitce3d1a6203330d6a2110797dc89709605c4c9282
tree060409f1d0dc9fc1a495aa071871b44e20b2d15c
parent8ee23ffd967b65f244ed5c72dadf8b3e1b374b6c
vaapidecodebin: delay the bin configuration

Delay the bin configuration until changing to READY state. This is because we
should add the vaapipostproc element until the vaapidecode has emitted the
HAVE_CONTEXT message, so de gst_bin_add() could set the context set to
vaapipostproc.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757957
gst/vaapi/gstvaapidecodebin.c