This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Commit 1337345
committed
Fix packed headers attribute test in vaCreateConfig()
If packed headers are not supported then the only valid value for this
attribute is VA_ATTRIB_NOT_SUPPORTED. If packed headers are supported,
then the provided value must be some (possibly empty) subset of the
supported headers.
This fixes config creation with an empty packed header set, which the
user may pass if they don't want to provide any packed headers. This
pattern is used in at least libavcodec, where VP9 encoding is broken
prior to this change.
Fixes #362.
Signed-off-by: Mark Thompson <[email protected]>1 parent bb92421 commit 1337345
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | | - | |
1435 | | - | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1436 | 1441 | | |
1437 | 1442 | | |
1438 | 1443 | | |
| |||
0 commit comments