Commit 5ef2954b authored by Carsten Schlote's avatar Carsten Schlote

Added some extra output instead of silent exit.

parent e3df801a
......@@ -38,8 +38,10 @@ int main(string[] args)
const ulong nAudio = info.getCount(MediaInfo_stream_t.MediaInfo_Stream_Audio);
const ulong nText = info.getCount(MediaInfo_stream_t.MediaInfo_Stream_Text);
if (nText == 0 && nVideo == 0 && nAudio == 0)
if (nText == 0 && nVideo == 0 && nAudio == 0) {
writeln("Found no media info on this file.");
return 0;
}
writefln("---%s---", info.get(MediaInfo_stream_t.MediaInfo_Stream_General, 0, "FileName"));
for (uint i = 0; i < nVideo; i++)
......
Markdown is supported
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