mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
decoder: vc1: Print error on interlaced content
Interlaced video is as yet unsupported in the vc1 element. Print an error to make that more obvious. https://bugzilla.gnome.org/show_bug.cgi?id=769250
This commit is contained in:
parent
ad3b45ebc4
commit
f31d9f37b6
1 changed files with 5 additions and 0 deletions
|
@ -276,6 +276,11 @@ decode_sequence (GstVaapiDecoderVC1 * decoder, GstVC1BDU * rbdu,
|
|||
|
||||
priv->has_entrypoint = FALSE;
|
||||
|
||||
if (adv_hdr->interlace != 0) {
|
||||
GST_ERROR ("interlaced sequence unsupported");
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_PROFILE;
|
||||
}
|
||||
|
||||
/* Reset POC */
|
||||
if (priv->last_non_b_picture) {
|
||||
if (priv->last_non_b_picture->poc == priv->next_poc)
|
||||
|
|
Loading…
Reference in a new issue