mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
vaapipostproc: Allow running without VPP support
We returned FALSE from ::start() if VPP support is not available, but it is only really needed for complex filters and during transform we check for that. For simple deinterlacing it is not needed.
This commit is contained in:
parent
bedaa13d7c
commit
76e9ad8646
1 changed files with 2 additions and 2 deletions
|
@ -306,8 +306,8 @@ gst_vaapipostproc_start (GstBaseTransform * trans)
|
|||
ds_reset (&postproc->deinterlace_state);
|
||||
if (!gst_vaapi_plugin_base_open (GST_VAAPI_PLUGIN_BASE (postproc)))
|
||||
return FALSE;
|
||||
if (!gst_vaapipostproc_ensure_filter (postproc))
|
||||
return FALSE;
|
||||
gst_vaapipostproc_ensure_filter (postproc);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue