vaapipostproc: fix support for "sharpen" filter.

Fix copy/paste error when submitting the "sharpen" value to the
GstVaapiFilter instance.

https://bugzilla.gnome.org/show_bug.cgi?id=720375

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Zhao, Halley 2013-12-12 08:38:12 +08:00 committed by Gwenole Beauchesne
parent e66179dffb
commit db5465c2d6

View file

@ -444,7 +444,7 @@ gst_vaapipostproc_process_vpp(GstBaseTransform *trans, GstBuffer *inbuf,
return GST_FLOW_NOT_SUPPORTED;
if ((postproc->flags & GST_VAAPI_POSTPROC_FLAG_SHARPEN) &&
!gst_vaapi_filter_set_denoising_level(postproc->filter,
!gst_vaapi_filter_set_sharpening_level(postproc->filter,
postproc->sharpen_level))
return GST_FLOW_NOT_SUPPORTED;