File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
src/AvTranscoder/transcoder Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ int main( int argc, char** argv )
107
107
108
108
// set verbose of all stream
109
109
transcoder.setVerbose ( verbose );
110
- transcoder.setProcessMethod ( avtranscoder::eProcessMethodLongest );
111
110
112
111
if ( verbose )
113
112
std::cout << " start Transcode" << std::endl;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Transcoder::Transcoder( OutputFile& outputFile )
17
17
, _streamTranscoders()
18
18
, _streamTranscodersAllocated()
19
19
, _profileLoader( true )
20
- , _eProcessMethod ( eProcessMethodLongest )
20
+ , _eProcessMethod ( eProcessMethodBasedOnStream )
21
21
, _mainStreamIndex( 0 )
22
22
, _verbose( false )
23
23
{
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ namespace avtranscoder
18
18
/* *
19
19
* @brief Enum to set a policy of how we manage the transcode in case of several streams.
20
20
* eProcessMethodShortest: stop transcode at the end of the shortest stream.
21
- * eProcessMethodLongest: stop transcode at the end of the longest stream (default method) .
22
- * eProcessMethodBasedOnStream: stop transcode at the end of an indicated stream (@see _indexBasedStream of Transcoder).
23
- * eProcessMethodInfinity: stop transcode by outside of avTranscoder.
21
+ * eProcessMethodLongest: stop transcode at the end of the longest stream.
22
+ * eProcessMethodBasedOnStream: stop transcode at the end of an indicated stream (@see _indexBasedStream attribute of Transcoder).
23
+ * eProcessMethodInfinity: stop transcode by outside of avTranscoder (streaming mode)
24
24
*/
25
25
enum EProcessMethod
26
26
{
@@ -121,8 +121,8 @@ class AvExport Transcoder
121
121
StreamTranscoder& getStreamTranscoder ( size_t streamIndex ) const { return *_streamTranscoders.at ( streamIndex ); }
122
122
123
123
/* *
124
- * @brief Set the transcodage politic .
125
- * @note By default eProcessMethodLongest .
124
+ * @brief Set the transcoding policy .
125
+ * @note By default eProcessMethodBasedOnStream at index 0 .
126
126
* @param indexBasedStream: in case of process method eProcessMethodBasedOnStream, stop transcode at the end of the indicated stream.
127
127
*/
128
128
void setProcessMethod ( const EProcessMethod eProcessMethod, const size_t indexBasedStream = 0 );
You can’t perform that action at this time.
0 commit comments