Skip to content

Commit

Permalink
Fix Copy Pasta error related to MediaInfo parsing
Browse files Browse the repository at this point in the history
this lead to streams missing/being null in mediainfo
  • Loading branch information
Baine committed Oct 17, 2019
1 parent 6afed6d commit 9e21387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaInfoWrapper/MediaInfo/MediaInfoParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ private static Media GetMediaInfo(string filename)

if (textCount > 0)
{
for (int x = 0; x < audioCount; x++)
for (int x = 0; x < textCount; x++)
{
Stream s = TranslateTextStream(_mInstance, x);
streams.Add(s);
Expand Down

0 comments on commit 9e21387

Please sign in to comment.