decoder: fix gst_vaapi_picture_new_field() object type.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 23 Oct 2012 12:04:22 +0000 (14:04 +0200)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commitf68e564098df924cfadfba3e34c50a69b2db8a65
tree8f70b0636b3cb2747b72d1c03bf835f913affe6e
parente63f078e76480e9c9a0d859381c8af34256d7272
decoder: fix gst_vaapi_picture_new_field() object type.

Fix gst_vaapi_picture_new_field() to preserve the original picture type.
e.g. gst_vaapi_picture_new_field() with a GstVaapiPictureH264 argument
shall generate a GstVaapiPictureH264 object.
gst-libs/gst/vaapi/gstvaapidecoder_objects.c