summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-04-17 10:14:55 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-04-17 10:14:55 +0200
commit2909d0229dfe144a1994247a498a4231b3772c77 (patch)
tree049e25cc850f5e407a1c39bbd4c1fb8b8e1d0c45 /gst-libs
parenta24e2164660b909b43d2c916d6651514603e6c07 (diff)
decoder: fix GstVideoCodecFrame flags for interlaced contents.
Fix support for interlaced contents with GStreamer 0.10. In particular, propagate GstVaapiSurfaceProxy frame flags to GstVideoCodecFrame flags correctly. This is a regression from commit 87e5717.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c
index 2a3dd76a..5c548d8e 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder.c
@@ -762,6 +762,7 @@ gst_vaapi_decoder_get_frame(GstVaapiDecoder *decoder,
out_flags |= GST_VIDEO_CODEC_FRAME_FLAG_RFF;
if (flags & GST_VAAPI_SURFACE_PROXY_FLAG_ONEFIELD)
out_flags |= GST_VIDEO_CODEC_FRAME_FLAG_ONEFIELD;
+ GST_VIDEO_CODEC_FRAME_FLAG_SET(out_frame, out_flags);
}
#endif