Skip to content

Commit d2bbcf8

Browse files
author
Clement Champetier
committed
AVInfo: display input / output extensions
* This app checks getInputExtensions and getOutputExtensions functions.
1 parent f754f90 commit d2bbcf8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/avInfo/avInfo.cpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include <iostream>
2-
#include <iomanip>
32

43
#include <AvTranscoder/Description.hpp>
54

@@ -8,5 +7,16 @@ int main( int argc, char** argv )
87
// std::cout << "avinfo" << std::endl;
98
std::vector<std::string> inputExtension = avtranscoder::getInputExtensions();
109
std::vector<std::string> outputExtension = avtranscoder::getOutputExtensions();
10+
11+
std::cout << "----- inputExtension -----" << std::endl;
12+
std::cout << "nb inputExtension: " << inputExtension.size() << std::endl;
13+
for( std::vector<std::string>::iterator it = inputExtension.begin(); it != inputExtension.end(); ++it )
14+
std::cout << *it << std::endl;
15+
16+
std::cout << "----- outputExtension -----" << std::endl;
17+
std::cout << "nb outputExtension: " << outputExtension.size() << std::endl;
18+
for( std::vector<std::string>::iterator it = outputExtension.begin(); it != outputExtension.end(); ++it )
19+
std::cout << *it << std::endl;
20+
1121
return 0;
1222
}

0 commit comments

Comments
 (0)