mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
plugins: don't fail if there is no overlay composition to apply.
Fix gst_vaapi_apply_composition() to not fail if no overlay composition
was found. i.e. return success (TRUE). This was harmless though extra
debug messages are not nice.
This is a regression introduced by commit 95b8659
.
This commit is contained in:
parent
cadc42eafe
commit
378ea2e237
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ gst_vaapi_apply_composition(GstVaapiSurface *surface, GstBuffer *buffer)
|
|||
gst_video_buffer_get_overlay_composition(buffer);
|
||||
|
||||
if (!composition)
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
return gst_vaapi_surface_set_subpictures_from_composition(surface,
|
||||
composition, TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue