vaapidecodebin: try to get display from decoder
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 12 Nov 2015 11:47:01 +0000 (12:47 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 16 Nov 2015 15:07:07 +0000 (16:07 +0100)
commit7c71ffccc04094b134437daad3571950a503ad65
tree5608832995e681015ab86d18668f27e5d7627042
parentbd4395ce9f2bf037a86cd9597b4b22b652e61e8c
vaapidecodebin: try to get display from decoder

Rather than create a dummy display, if none has propagated as a context, we
should try to get the one from vaapidecode.

As the bin is already in READY state, the vaapidecode should be also in that
state. That means that the contexts have been negotiated, and it should have
already a display.

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