Hi,

2012/9/10 Simon Farnsworth <simon.farnswo...@onelan.co.uk>:

> +            /* Extended aspect ratio */
> +            else if (adv_hdr->aspect_ratio == 255 )
> +                gst_vaapi_decoder_set_pixel_aspect_ratio(base_decoder,
> +                                                         
> adv_hdr->aspect_horiz_size,
> +                                                         
> adv_hdr->aspect_vert_size);

This should be aspect_ratio == 15.
And par_{n,d} should be 1 + aspect_{horiz,vert}_size, according to
6.1.14.3.2 to 6.1.14.3.3. i.e. range of the 8-bit value is 1 to 256.

Regards,
Gwenole.
_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to