File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ std::vector<std::string> getAudioCodecsShortNames()
261
261
return audioCodecsShortNames;
262
262
}
263
263
264
- std::map< std::string, std::vector<Option> > getOutputFormatOptions ()
264
+ OptionArrayMap getOutputFormatOptions ()
265
265
{
266
266
av_register_all ();
267
267
@@ -288,7 +288,7 @@ std::map< std::string, std::vector<Option> > getOutputFormatOptions()
288
288
return optionsPerFormat;
289
289
}
290
290
291
- std::map< std::string, std::vector<Option> > getVideoCodecOptions ()
291
+ OptionArrayMap getVideoCodecOptions ()
292
292
{
293
293
std::map< std::string, std::vector<Option> > videoCodecOptions;
294
294
@@ -319,7 +319,7 @@ std::map< std::string, std::vector<Option> > getVideoCodecOptions()
319
319
return videoCodecOptions;
320
320
}
321
321
322
- std::map< std::string, std::vector<Option> > getAudioCodecOptions ()
322
+ OptionArrayMap getAudioCodecOptions ()
323
323
{
324
324
std::map< std::string, std::vector<Option> > audioCodecOptions;
325
325
Original file line number Diff line number Diff line change 3
3
4
4
#include " common.hpp"
5
5
6
+ #include < AvTranscoder/option/Context.hpp>
7
+
6
8
extern " C" {
7
9
#include < libavutil/pixfmt.h>
8
10
#include < libavutil/samplefmt.h>
@@ -15,7 +17,7 @@ extern "C" {
15
17
namespace avtranscoder
16
18
{
17
19
18
- class Option ;
20
+ typedef std::map<std::string, OptionArray> OptionArrayMap ;
19
21
20
22
/* *
21
23
* @brief Get pixel format supported by a video codec.
@@ -65,17 +67,17 @@ std::vector<std::string> getAudioCodecsShortNames();
65
67
/* *
66
68
* @brief Get the list of options for each output format
67
69
*/
68
- std::map< std::string, std::vector<Option> > getOutputFormatOptions ();
70
+ OptionArrayMap getOutputFormatOptions ();
69
71
70
72
/* *
71
73
* @brief Get the list of options for each video codec
72
74
*/
73
- std::map< std::string, std::vector<Option> > getVideoCodecOptions ();
75
+ OptionArrayMap getVideoCodecOptions ();
74
76
75
77
/* *
76
78
* @brief Get the list of options for each audio codec
77
79
*/
78
- std::map< std::string, std::vector<Option> > getAudioCodecOptions ();
80
+ OptionArrayMap getAudioCodecOptions ();
79
81
80
82
}
81
83
You can’t perform that action at this time.
0 commit comments