Skip to content
Snippets Groups Projects
Commit c42b23cb authored by Scott D Phillips's avatar Scott D Phillips Committed by Sreerenj Balachandran
Browse files

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
parent 2f519a1e
No related branches found
No related tags found
Loading
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment