Fix for reading FCP xml - thx Antti :)

This commit is contained in:
Nikolaj Olsson 2018-02-13 10:36:19 +01:00
parent c29af52be4
commit aa6bb9c282
3 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
}
}
foreach (XmlNode node in xml.SelectNodes("xmeml/sequence/media/video/track"))
foreach (XmlNode node in xml.SelectNodes("//video/track"))
{
try
{

View File

@ -231,7 +231,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
}
}
foreach (XmlNode node in xml.SelectNodes("xmeml/sequence/media/video/track"))
foreach (XmlNode node in xml.SelectNodes("//media/video/track"))
{
try
{

View File

@ -446,7 +446,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
}
}
foreach (XmlNode node in xml.SelectNodes("xmeml/sequence/media/video/track"))
foreach (XmlNode node in xml.SelectNodes("//video/track"))
{
try
{