Bug 91626 - [HSW..] vpp number of filters assertion
Summary: [HSW..] vpp number of filters assertion
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: PengChen
QA Contact: Sean V Kelley
Depends on:
Reported: 2015-08-13 15:10 UTC by Víctor Jáquez
Modified: 2016-12-14 00:50 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Víctor Jáquez 2015-08-13 15:10:09 UTC
While working in color balance interface in vaapipostroc [1], I ran across with an assertion that crashed the execution:

gen75_picture_process.c:169: VAStatus gen75_proc_picture(VADriverContextP, VAProfile, union codec_state *, struct hw_context *): Assertion `pipeline_param->num_filters <= 4' failed.

In my opinion, this shouldn't be handled in this way. If the hardware offers only a limited number of filters to activate simultaneously, it should behave different (ignore the new filter, perhaps) but it shouldn't crash. 

1. https://bugzilla.gnome.org/show_bug.cgi?id=720376
Comment 1 PengChen 2016-12-14 00:50:05 UTC
whether return error is the better idea if pipeline_param->num_filters <= 4 is not true? it makes the user confused if the driver ignores the new filters at this case.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.