@@ -40,7 +40,7 @@ Transcoder::~Transcoder()
40
40
}
41
41
}
42
42
43
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const std::string& profileName, const size_t offset )
43
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const std::string& profileName, const double offset )
44
44
{
45
45
// Re-wrap
46
46
if ( profileName.length () == 0 )
@@ -62,7 +62,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, con
62
62
}
63
63
}
64
64
65
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const std::string& profileName, ICodec& codec, const size_t offset )
65
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const std::string& profileName, ICodec& codec, const double offset )
66
66
{
67
67
// Re-wrap
68
68
if ( profileName.length () == 0 )
@@ -84,7 +84,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, con
84
84
}
85
85
}
86
86
87
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, ProfileLoader::Profile& profile, const size_t offset )
87
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, ProfileLoader::Profile& profile, const double offset )
88
88
{
89
89
// Check filename
90
90
if ( ! filename.length () )
@@ -95,7 +95,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, Pro
95
95
addTranscodeStream ( filename, streamIndex, -1 , profile, offset );
96
96
}
97
97
98
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, ProfileLoader::Profile& profile, ICodec& codec, const size_t offset )
98
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, ProfileLoader::Profile& profile, ICodec& codec, const double offset )
99
99
{
100
100
// Generator
101
101
if ( ! filename.length () )
@@ -113,7 +113,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, Pro
113
113
}
114
114
}
115
115
116
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, const std::string& profileName, const size_t offset )
116
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, const std::string& profileName, const double offset )
117
117
{
118
118
// No subStream selected
119
119
if ( subStreamIndex < 0 )
@@ -148,7 +148,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, con
148
148
}
149
149
}
150
150
151
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, const std::string& profileName, ICodec& codec, const size_t offset )
151
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, const std::string& profileName, ICodec& codec, const double offset )
152
152
{
153
153
// No subStream selected
154
154
if ( subStreamIndex < 0 )
@@ -184,7 +184,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, con
184
184
}
185
185
}
186
186
187
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, ProfileLoader::Profile& profile, const size_t offset )
187
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, ProfileLoader::Profile& profile, const double offset )
188
188
{
189
189
// No subStream selected
190
190
if ( subStreamIndex < 0 )
@@ -202,7 +202,7 @@ void Transcoder::add( const std::string& filename, const size_t streamIndex, con
202
202
addTranscodeStream ( filename, streamIndex, subStreamIndex, profile, offset );
203
203
}
204
204
205
- void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, ProfileLoader::Profile& profile, ICodec& codec, const size_t offset )
205
+ void Transcoder::add ( const std::string& filename, const size_t streamIndex, const int subStreamIndex, ProfileLoader::Profile& profile, ICodec& codec, const double offset )
206
206
{
207
207
// No subStream selected
208
208
if ( subStreamIndex < 0 )
@@ -328,7 +328,7 @@ void Transcoder::addRewrapStream( const std::string& filename, const size_t stre
328
328
_streamTranscoders.push_back ( _streamTranscodersAllocated.back () );
329
329
}
330
330
331
- void Transcoder::addTranscodeStream ( const std::string& filename, const size_t streamIndex, const size_t subStreamIndex, const size_t offset )
331
+ void Transcoder::addTranscodeStream ( const std::string& filename, const size_t streamIndex, const size_t subStreamIndex, const double offset )
332
332
{
333
333
InputFile* referenceFile = addInputFile ( filename, streamIndex );
334
334
@@ -379,7 +379,7 @@ void Transcoder::addTranscodeStream( const std::string& filename, const size_t s
379
379
}
380
380
}
381
381
382
- void Transcoder::addTranscodeStream ( const std::string& filename, const size_t streamIndex, const size_t subStreamIndex, ProfileLoader::Profile& profile, const size_t offset )
382
+ void Transcoder::addTranscodeStream ( const std::string& filename, const size_t streamIndex, const size_t subStreamIndex, ProfileLoader::Profile& profile, const double offset )
383
383
{
384
384
// Add profile
385
385
_profileLoader.loadProfile ( profile );
0 commit comments