Skip to content

Commit 50a8922

Browse files
author
Clement Champetier
committed
avInfo app: clean
1 parent 62f4540 commit 50a8922

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

app/avInfo/avInfo.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,18 @@ int main( int argc, char** argv )
1717
std::cout << std::endl;
1818
}
1919

20-
// std::cout << "avinfo" << std::endl;
20+
avtranscoder::preloadCodecsAndFormats();
21+
2122
std::vector<std::string> inputExtension = avtranscoder::getInputExtensions();
2223
std::vector<std::string> outputExtension = avtranscoder::getOutputExtensions();
2324

24-
std::cout << "----- inputExtension -----" << std::endl;
25-
std::cout << "nb inputExtension: " << inputExtension.size() << std::endl;
25+
std::cout << "Supported input extensions: " << inputExtension.size() << std::endl;
2626
for( std::vector<std::string>::iterator it = inputExtension.begin(); it != inputExtension.end(); ++it )
27-
std::cout << *it << std::endl;
27+
std::cout << *it << ", ";;
2828

29-
std::cout << "----- outputExtension -----" << std::endl;
30-
std::cout << "nb outputExtension: " << outputExtension.size() << std::endl;
29+
std::cout << std::endl << std::endl << "Supported output extensions: " << outputExtension.size() << std::endl;
3130
for( std::vector<std::string>::iterator it = outputExtension.begin(); it != outputExtension.end(); ++it )
32-
std::cout << *it << std::endl;
33-
31+
std::cout << *it << ", ";
32+
std::cout << std::endl;
3433
return 0;
3534
}

0 commit comments

Comments
 (0)