[vlc-commits] [Git][videolan/vlc][master] vaapi: filters: don't use the filter if the input is not VAAPI
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Sep 23 19:53:36 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
086dc042 by Steve Lhomme at 2025-09-23T19:11:17+00:00
vaapi: filters: don't use the filter if the input is not VAAPI
Missing return from 3949ed82824ea186c389dc0c4d173fe942d088c5.
- - - - -
1 changed file:
- modules/hw/vaapi/filters.c
Changes:
=====================================
modules/hw/vaapi/filters.c
=====================================
@@ -292,6 +292,7 @@ Open(filter_t * filter,
if (filter->vctx_in == NULL ||
vlc_video_context_GetType(filter->vctx_in) != VLC_VIDEO_CONTEXT_VAAPI)
+ return VLC_EGENERIC;
if (!vlc_vaapi_IsChromaOpaque(filter->fmt_out.video.i_chroma) ||
!video_format_IsSimilar(&filter->fmt_out.video, &filter->fmt_in.video))
return VLC_EGENERIC;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/086dc0421ef0b93cb78be117d92e51cbe06d5db2
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/086dc0421ef0b93cb78be117d92e51cbe06d5db2
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list