@@ -201,21 +201,14 @@ void OutputVideo::setProfile( Profile::ProfileDesc& desc, const avtranscoder::Im
201
201
202
202
for ( Profile::ProfileDesc::iterator it = desc.begin (); it != desc.end (); ++it )
203
203
{
204
- if ( (*it).first == Profile::avProfileIdentificator )
205
- continue ;
206
- if ( (*it).first == Profile::avProfileIdentificatorHuman )
207
- continue ;
208
- if ( (*it).first == Profile::avProfileType )
209
- continue ;
210
- if ( (*it).first == Profile::avProfileCodec )
211
- continue ;
212
- if ( (*it).first == Profile::avProfilePixelFormat )
213
- continue ;
214
- if ( (*it).first == Profile::avProfileWidth )
215
- continue ;
216
- if ( (*it).first == Profile::avProfileHeight )
217
- continue ;
218
- if ( (*it).first == Profile::avProfileFrameRate )
204
+ if ( (*it).first == Profile::avProfileIdentificator ||
205
+ (*it).first == Profile::avProfileIdentificatorHuman ||
206
+ (*it).first == Profile::avProfileType ||
207
+ (*it).first == Profile::avProfileCodec ||
208
+ (*it).first == Profile::avProfilePixelFormat ||
209
+ (*it).first == Profile::avProfileWidth ||
210
+ (*it).first == Profile::avProfileHeight||
211
+ (*it).first == Profile::avProfileFrameRate)
219
212
continue ;
220
213
221
214
try
@@ -232,21 +225,14 @@ void OutputVideo::setProfile( Profile::ProfileDesc& desc, const avtranscoder::Im
232
225
233
226
for ( Profile::ProfileDesc::iterator it = desc.begin (); it != desc.end (); ++it )
234
227
{
235
- if ( (*it).first == Profile::avProfileIdentificator )
236
- continue ;
237
- if ( (*it).first == Profile::avProfileIdentificatorHuman )
238
- continue ;
239
- if ( (*it).first == Profile::avProfileType )
240
- continue ;
241
- if ( (*it).first == Profile::avProfileCodec )
242
- continue ;
243
- if ( (*it).first == Profile::avProfilePixelFormat )
244
- continue ;
245
- if ( (*it).first == Profile::avProfileWidth )
246
- continue ;
247
- if ( (*it).first == Profile::avProfileHeight )
248
- continue ;
249
- if ( (*it).first == Profile::avProfileFrameRate )
228
+ if ( (*it).first == Profile::avProfileIdentificator ||
229
+ (*it).first == Profile::avProfileIdentificatorHuman ||
230
+ (*it).first == Profile::avProfileType ||
231
+ (*it).first == Profile::avProfileCodec ||
232
+ (*it).first == Profile::avProfilePixelFormat ||
233
+ (*it).first == Profile::avProfileWidth ||
234
+ (*it).first == Profile::avProfileHeight||
235
+ (*it).first == Profile::avProfileFrameRate)
250
236
continue ;
251
237
252
238
try
0 commit comments