Skip to content

Commit 94ad0ae

Browse files
author
Clement Champetier
committed
PixelProperties: fixed colorComponents value if not found
All properties have the same value if not found.
1 parent 7a42b23 commit 94ad0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/properties/PixelProperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ PropertyVector& PixelProperties::fillVector(PropertyVector& data) const
274274
}
275275
catch(const std::exception& e)
276276
{
277-
detail::add(data, "colorComponents", e.what());
277+
detail::add(data, "colorComponents", detail::propertyValueIfError);
278278
}
279279

280280
try

0 commit comments

Comments
 (0)