vaapidecode: do not discard video info props when the format changed.
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Wed, 15 Jan 2014 16:36:29 +0000 (16:36 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 11:59:09 +0000 (13:59 +0200)
commitead38a4d77d38bdc89c76e7856cb17bb73c698d2
tree4deb60cd38d5f70ea72e50e4ac9a8681ddb684e2
parent3fbef25e13e231b34e4d50823c86bb28240f1318
vaapidecode: do not discard video info props when the format changed.

gst_video_info_set_format() does not preserve video info properties. In
order to keep important information in the caps such as interlace mode,
framerate, pixel aspect ratio, ... we need to manually copy back those
properties after setting the new video format.

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