encoder: h264: fix profile limits. 96/33096/1
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 25 Nov 2014 10:41:49 +0000 (11:41 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 5 Jan 2015 15:55:20 +0000 (16:55 +0100)
commit3cd05c8e5aecb9206a111c4f5ebb44887b1b3028
tree4ca45ecc1517d2a26b971fd23e8b3b6c9425085d
parent02d37358d06fcba89c723c11a3721eeac8aedbd1
encoder: h264: fix profile limits.

Fix ensure_profile_limits() to lower profile to the desired limits,
only if the latter are actually known and the profile needed to be
changed to fit.

Change-Id: Id0a7b26e7cf6e6b5473e7208477a0f00af30a78c
Origin: upstream
Bug-Tizen: TC-2113/part
gst-libs/gst/vaapi/gstvaapiencoder_h264.c