Skip to content

Commit

Permalink
Fix regression in commit 9d63be6.
Browse files Browse the repository at this point in the history
The new filters were being added in front of all of the normalizing
filters, but they must come after. This was noticed because CPU video
filters were distorting the chroma planes with GPU processing enabled.
However, this problem affected all filters.
  • Loading branch information
bmatherly committed Dec 2, 2014
1 parent c68a243 commit a8133d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/attachedfiltersmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void AttachedFiltersModel::add(QmlMetadata* meta)

// Calculate the MLT index for the new filter.
if (m_mltIndexMap.count() == 0) {
mltIndex = m_mltIndexMap.count();
mltIndex = m_producer->filter_count();
} else if (insertIndex == 0) {
mltIndex = m_mltIndexMap[0];
} else {
Expand Down

0 comments on commit a8133d2

Please sign in to comment.