projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bedaa13
)
vaapipostproc: Allow running without VPP support
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 3 Oct 2017 08:51:06 +0000
(10:51 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 3 Oct 2017 10:04:42 +0000
(12:04 +0200)
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.
gst/vaapi/gstvaapipostproc.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapipostproc.c
b/gst/vaapi/gstvaapipostproc.c
index
427193c
..
e828741
100644
(file)
--- a/
gst/vaapi/gstvaapipostproc.c
+++ b/
gst/vaapi/gstvaapipostproc.c
@@
-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;
}