encoder: mpeg2: fix hardware profile lookup.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 13 Jan 2014 16:11:15 +0000 (17:11 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 13 Jan 2014 16:31:55 +0000 (17:31 +0100)
commit0c5f69e0d9b9e27c9d6f3d78b6384b98ddc70530
treeb0cb8a60f45a4cd1d353df6a1031b749a2ffe757
parente311d53c8a18eb6b3fff2648a42d17c2e87d7b35
encoder: mpeg2: fix hardware profile lookup.

Fix lookup for a suitable HW profile, as to be used by the underlying
hardware, based on heuristics that lead to characterize the SW profile,
i.e. the one used by the SW level encoding logic.
gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c