mpeg2: add support for video cropping.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 18 Feb 2013 14:28:27 +0000 (16:28 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 8 Jul 2013 16:54:15 +0000 (18:54 +0200)
commit0b1faa62d0ce64bddbfd9abb5a9ce666943027d3
tree3512c625084223ef8ee45176ca681a9b7ec3fdb1
parentf9ae0c0de4bc569dd3b4cdf5c18d776e9be50ff8
mpeg2: add support for video cropping.

If the stream has a sequence_display_extenion, then attach the
display_horizontal/display_vertical dimension as the cropping
rectangle width/height to the GstVaapiPicture.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c