mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
decoder: h264: fix caps to report interlace-mode accordingly.
The `vaapipostproc' element could never determine if the H.264 stream was interlaced, and thus always assumed it to be progressive. Fix the H.264 decoder to report interlace-mode accordingly, thus allowing the vaapipostproc element to automatically enable deinterlacing.
This commit is contained in:
parent
9d417815ab
commit
95c781c34f
1 changed files with 0 additions and 3 deletions
|
@ -1333,10 +1333,7 @@ ensure_context(GstVaapiDecoderH264 *decoder, GstH264SPS *sps)
|
|||
}
|
||||
|
||||
priv->progressive_sequence = sps->frame_mbs_only_flag;
|
||||
#if 0
|
||||
/* XXX: we only output complete frames for now */
|
||||
gst_vaapi_decoder_set_interlaced(base_decoder, !priv->progressive_sequence);
|
||||
#endif
|
||||
|
||||
gst_vaapi_decoder_set_pixel_aspect_ratio(
|
||||
base_decoder,
|
||||
|
|
Loading…
Reference in a new issue