restore-stream: stop when we find the first suitable key

This commit is contained in:
Wim Taymans 2021-10-05 15:53:22 +02:00 committed by George Kiagiadakis
parent 1c77837c9b
commit 65d5f6442b

View file

@ -77,6 +77,7 @@ function findSuitableKey(node)
if p then
key = string.format("%s:%s:%s:",
node_props["media.class"]:gsub("^Stream/", ""), k, p)
break
end
end
return key