Skip to content

Commit 3f2678f

Browse files
author
Clement Champetier
committed
OutputVideo: refactoring - rename local variable
1 parent a10dc3f commit 3f2678f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/AvTranscoder/EssenceStream/OutputVideo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ bool OutputVideo::encodeFrame( DataStream& codedFrame )
181181
#endif
182182
}
183183

184-
void OutputVideo::setProfile( const Profile::ProfileDesc& desc, const avtranscoder::VideoFrameDesc& VideoFrameDesc )
184+
void OutputVideo::setProfile( const Profile::ProfileDesc& desc, const avtranscoder::VideoFrameDesc& videoFrameDesc )
185185
{
186186
if( ! desc.count( Profile::avProfileCodec ) ||
187187
! desc.count( Profile::avProfilePixelFormat ) ||
@@ -195,7 +195,7 @@ void OutputVideo::setProfile( const Profile::ProfileDesc& desc, const avtranscod
195195
const size_t frameRate = std::strtoul( desc.find( Profile::avProfileFrameRate )->second.c_str(), NULL, 0 );
196196
_videoDesc.setTimeBase( 1, frameRate );
197197

198-
_videoDesc.setImageParameters( VideoFrameDesc );
198+
_videoDesc.setImageParameters( videoFrameDesc );
199199

200200
for( Profile::ProfileDesc::const_iterator it = desc.begin(); it != desc.end(); ++it )
201201
{

src/AvTranscoder/EssenceStream/OutputVideo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AvExport OutputVideo : public OutputEssence
3131
*/
3232
bool encodeFrame( DataStream& codedFrame );
3333

34-
void setProfile( const Profile::ProfileDesc& desc, const avtranscoder::VideoFrameDesc& VideoFrameDesc );
34+
void setProfile( const Profile::ProfileDesc& desc, const avtranscoder::VideoFrameDesc& videoFrameDesc );
3535

3636
VideoDesc& getVideoDesc() { return _videoDesc; }
3737

0 commit comments

Comments
 (0)