vaapidecode: don't try flushing the decoder instance if we didn't create one yet
authorSebastian Dröge <sebastian@centricular.com>
Mon, 11 Aug 2014 14:14:53 +0000 (17:14 +0300)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Aug 2014 15:24:59 +0000 (17:24 +0200)
commit4ff4563a471e3a0a089648a539084ee220483e88
treeaa77f1e80d763350bc67cae8d174b8e2c063af9a
parent7ac501d026036887c114b28bc9fb4aabc557e91a
vaapidecode: don't try flushing the decoder instance if we didn't create one yet

This otherwise results in unnecessary error messages.

https://bugzilla.gnome.org/show_bug.cgi?id=734616
gst/vaapi/gstvaapidecode.c