Skip to content

Commit e8a9a94

Browse files
using profile instead profil
1 parent e3a4851 commit e8a9a94

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

src/AvTranscoder/Profile.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
namespace avtranscoder
1313
{
1414

15-
const std::string Profile::avProfilIdentificator( "avProfile" );
16-
const std::string Profile::avProfilIdentificatorHuman( "avProfileLong" );
17-
const std::string Profile::avProfilType( "avProfileType" );
18-
const std::string Profile::avProfilTypeVideo( "avProfileTypeVideo" );
19-
const std::string Profile::avProfilTypeAudio( "avProfileTypeAudio" );
15+
const std::string Profile::avProfileIdentificator( "avProfile" );
16+
const std::string Profile::avProfileIdentificatorHuman( "avProfileLong" );
17+
const std::string Profile::avProfileType( "avProfileType" );
18+
const std::string Profile::avProfileTypeVideo( "avProfileTypeVideo" );
19+
const std::string Profile::avProfileTypeAudio( "avProfileTypeAudio" );
2020

2121

2222
Profile::Profile()
@@ -52,7 +52,7 @@ Profile::ProfilesDesc Profile::getVideoProfiles()
5252

5353
for( ProfilesDesc::iterator it = _profiles.begin(); it != _profiles.end(); ++it )
5454
{
55-
if( (*it).find( avProfilType )->second == avProfilTypeVideo )
55+
if( (*it).find( avProfileType )->second == avProfileTypeVideo )
5656
profiles.push_back( *it );
5757
}
5858

@@ -70,7 +70,7 @@ Profile::ProfileDesc& Profile::getProfile( const std::string& searchProfile )
7070
{
7171
for( ProfilesDesc::iterator it = _profiles.begin(); it != _profiles.end(); ++it )
7272
{
73-
if( (*it).find( avProfilIdentificator )->second == searchProfile )
73+
if( (*it).find( avProfileIdentificator )->second == searchProfile )
7474
{
7575
return (*it);
7676
}

src/AvTranscoder/Profile.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ namespace avtranscoder
1212
class Profile
1313
{
1414
public:
15-
static const std::string avProfilIdentificator;
16-
static const std::string avProfilIdentificatorHuman;
17-
static const std::string avProfilType;
15+
static const std::string avProfileIdentificator;
16+
static const std::string avProfileIdentificatorHuman;
17+
static const std::string avProfileType;
1818

19-
static const std::string avProfilTypeVideo;
20-
static const std::string avProfilTypeAudio;
19+
static const std::string avProfileTypeVideo;
20+
static const std::string avProfileTypeAudio;
2121

2222
// typedef std::pair< std::string, std::string > KeyDesc;
2323
typedef std::map< std::string, std::string > ProfileDesc;

src/AvTranscoder/Profiles/DNxHD.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ namespace avtranscoder
77
void loadDNxHD( Profile::ProfilesDesc& profiles )
88
{
99
Profile::ProfileDesc dnxhd120;
10-
dnxhd120[ Profile::avProfilIdentificator ] = "dnxhd120";
11-
dnxhd120[ Profile::avProfilIdentificatorHuman ] = "DNxHD 120";
12-
dnxhd120[ Profile::avProfilType ] = Profile::avProfilTypeVideo;
10+
dnxhd120[ Profile::avProfileIdentificator ] = "dnxhd120";
11+
dnxhd120[ Profile::avProfileIdentificatorHuman ] = "DNxHD 120";
12+
dnxhd120[ Profile::avProfileType ] = Profile::avProfileTypeVideo;
1313
dnxhd120[ "codec" ] = "dnxhd";
1414
dnxhd120[ "b" ] = "120000000";
1515
dnxhd120[ "pix_fmt" ] = "yuv422p";
1616
dnxhd120[ "g" ] = "1";
1717

1818
Profile::ProfileDesc dnxhd185;
19-
dnxhd185[ Profile::avProfilIdentificator ] = "dnxhd185";
20-
dnxhd185[ Profile::avProfilIdentificatorHuman ] = "DNxHD 185";
21-
dnxhd185[ Profile::avProfilType ] = Profile::avProfilTypeVideo;
19+
dnxhd185[ Profile::avProfileIdentificator ] = "dnxhd185";
20+
dnxhd185[ Profile::avProfileIdentificatorHuman ] = "DNxHD 185";
21+
dnxhd185[ Profile::avProfileType ] = Profile::avProfileTypeVideo;
2222
dnxhd185[ "codec" ] = "dnxhd";
2323
dnxhd185[ "b" ] = "185000000";
2424
dnxhd185[ "pix_fmt" ] = "yuv422p";
2525
dnxhd185[ "g" ] = "1";
2626

2727
Profile::ProfileDesc dnxhd185x;
28-
dnxhd185x[ Profile::avProfilIdentificator ] = "dnxhd185x";
29-
dnxhd185x[ Profile::avProfilIdentificatorHuman ] = "DNxHD 185 X";
30-
dnxhd185x[ Profile::avProfilType ] = Profile::avProfilTypeVideo;
28+
dnxhd185x[ Profile::avProfileIdentificator ] = "dnxhd185x";
29+
dnxhd185x[ Profile::avProfileIdentificatorHuman ] = "DNxHD 185 X";
30+
dnxhd185x[ Profile::avProfileType ] = Profile::avProfileTypeVideo;
3131
dnxhd185x[ "codec" ] = "dnxhd";
3232
dnxhd185x[ "b" ] = "185000000";
3333
dnxhd185x[ "pix_fmt" ] = "yuv422p10";

src/AvTranscoder/Profiles/Wave.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ void loadWave( Profile::ProfilesDesc& profiles )
88
{
99
Profile::ProfileDesc wave24bits;
1010

11-
wave24bits[ Profile::avProfilIdentificator ] = "wave24bits";
12-
wave24bits[ Profile::avProfilIdentificatorHuman ] = "Wave 24bits";
13-
wave24bits[ Profile::avProfilType ] = Profile::avProfilTypeAudio;
11+
wave24bits[ Profile::avProfileIdentificator ] = "wave24bits";
12+
wave24bits[ Profile::avProfileIdentificatorHuman ] = "Wave 24bits";
13+
wave24bits[ Profile::avProfileType ] = Profile::avProfileTypeAudio;
1414

1515
wave24bits[ "codec" ] = "pcm_s24le";
1616
wave24bits[ "sample_fmt" ] = "s32";
1717

1818
Profile::ProfileDesc wave16bits;
1919

20-
wave16bits[ Profile::avProfilIdentificator ] = "wave16bits";
21-
wave16bits[ Profile::avProfilIdentificatorHuman ] = "Wave 16bits";
22-
wave16bits[ Profile::avProfilType ] = Profile::avProfilTypeAudio;
20+
wave16bits[ Profile::avProfileIdentificator ] = "wave16bits";
21+
wave16bits[ Profile::avProfileIdentificatorHuman ] = "Wave 16bits";
22+
wave16bits[ Profile::avProfileType ] = Profile::avProfileTypeAudio;
2323

2424
wave16bits[ "codec" ] = "pcm_s16le";
2525
wave16bits[ "sample_fmt" ] = "s16";

src/AvTranscoder/Profiles/XdCamHd422.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ void loadXdCamHD422( Profile::ProfilesDesc& profiles )
88
{
99
Profile::ProfileDesc xdCamHd422;
1010

11-
xdCamHd422[ Profile::avProfilIdentificator ] = "xdcamhd422";
12-
xdCamHd422[ Profile::avProfilIdentificatorHuman ] = "XdCamHD 422";
13-
xdCamHd422[ Profile::avProfilType ] = Profile::avProfilTypeVideo;
11+
xdCamHd422[ Profile::avProfileIdentificator ] = "xdcamhd422";
12+
xdCamHd422[ Profile::avProfileIdentificatorHuman ] = "XdCamHD 422";
13+
xdCamHd422[ Profile::avProfileType ] = Profile::avProfileTypeVideo;
1414

1515

1616
xdCamHd422[ "codec" ] = "mpeg2video";

0 commit comments

Comments
 (0)