mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
.
This commit is contained in:
parent
a24e216466
commit
2909d0229d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue