File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,19 @@ const Profile::ProfilesDesc& Profile::getProfiles()
114
114
return _profiles;
115
115
}
116
116
117
+ Profile::ProfilesDesc Profile::getFormatProfiles ()
118
+ {
119
+ ProfilesDesc profiles;
120
+
121
+ for ( ProfilesDesc::iterator it = _profiles.begin (); it != _profiles.end (); ++it )
122
+ {
123
+ if ( (*it).find ( avProfileType )->second == avProfileTypeFormat )
124
+ profiles.push_back ( *it );
125
+ }
126
+
127
+ return profiles;
128
+ }
129
+
117
130
Profile::ProfilesDesc Profile::getVideoProfiles ()
118
131
{
119
132
ProfilesDesc profiles;
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ class Profile
42
42
43
43
const ProfilesDesc& getProfiles ();
44
44
45
+ ProfilesDesc getFormatProfiles ();
45
46
ProfilesDesc getVideoProfiles ();
46
47
ProfilesDesc getAudioProfiles ();
47
48
You can’t perform that action at this time.
0 commit comments