Skip to content

Commit 8ab1d9f

Browse files
author
Clement Champetier
committed
OutputFile: rename setProfile to setupWrapping
Issue mikrosimage#206
1 parent 3e8aebb commit 8ab1d9f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/pyThumbnail/pythumbnail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
formatProfile[ av.avProfileType ] = av.avProfileTypeFormat
7676
formatProfile[ av.avProfileFormat ] = "mjpeg"
7777
outputFile = av.OutputFile( args.outputFileName )
78-
outputFile.setProfile( formatProfile )
78+
outputFile.setupWrapping( formatProfile )
7979

8080
# create input stream
8181
videoStreamIndex = inputFile.getProperties().getVideoProperties()[0].getStreamIndex()

src/AvTranscoder/file/OutputFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void OutputFile::addMetadata( const std::string& key, const std::string& value )
181181
_formatContext.addMetaData( key, value );
182182
}
183183

184-
void OutputFile::setProfile( const ProfileLoader::Profile& profile )
184+
void OutputFile::setupWrapping( const ProfileLoader::Profile& profile )
185185
{
186186
LOG_DEBUG( "Set profile of output file with:\n" << profile )
187187

src/AvTranscoder/file/OutputFile.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class AvExport OutputFile : public IOutputFile
7777
* @brief Set the format of the output file
7878
* @param profile: the profile of the output format
7979
*/
80-
void setProfile( const ProfileLoader::Profile& profile );
80+
void setupWrapping( const ProfileLoader::Profile& profile );
8181

8282
private:
8383
FormatContext _formatContext;

0 commit comments

Comments
 (0)