vaapiencode: h264: set profile to src caps
authorHyunjun Ko <zzoon@igalia.com>
Tue, 27 Jun 2017 04:14:31 +0000 (13:14 +0900)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 3 Jul 2017 16:36:29 +0000 (18:36 +0200)
commitd018f64cbdbb2037ff6aaf4b08856e52ffdfe7e0
treed880af8beaf7d5dbac3656c572ee5a5733999f80
parent39b36f7d14731ddb309af4a918fdf1b9fc3a5378
vaapiencode: h264: set profile to src caps

So far vaapi encoder does not set profile to src caps. This patch makes it
setting profile to src caps, which is determined by itself.

In addition, if encoder chose different profile, which is not negotiated with
downstream, we should set compatible profile to make negotiation working.

https://bugzilla.gnome.org/show_bug.cgi?id=757941
gst/vaapi/gstvaapiencode_h264.c