Commit e25cc368 authored by Sergio Martins's avatar Sergio Martins Committed by Sérgio Martins
Browse files

Fix build with QT_STRICT_ITERATORS


Change-Id: I1d646cf7d8f68a7ec5c713735c233c71bc3f338b
Reviewed-by: default avatarSean Harmer <sean.harmer@kdab.com>
parent c74de91c
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -156,7 +156,7 @@ void QGstCodecsInfo::updateCodecs(ElementType elementType)
GstRank rank = GstRank(gst_plugin_feature_get_rank(GST_PLUGIN_FEATURE(factory)));
// If two elements provide the same codec, use the highest ranked one
QMap<QString, CodecInfo>::const_iterator it = m_codecInfo.find(codec);
QMap<QString, CodecInfo>::const_iterator it = m_codecInfo.constFind(codec);
if (it == m_codecInfo.constEnd() || it->rank < rank) {
if (it == m_codecInfo.constEnd())
m_codecs.append(codec);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment