Skip to content

Commit 1f268e1

Browse files
Merge pull request #20 from cchampet/fix_warning
Fix warnings
2 parents fe38214 + c4b1c87 commit 1f268e1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/AvTranscoder/Metadatas/VideoStreamProperties.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ VideoProperties videoStreamInfo(
203203
#endif
204204
#endif
205205
case AVCOL_TRC_NB: vp.colorTransfert = "Not ABI"; break;
206+
default: break;
206207
}
207208
switch( codec_context->colorspace )
208209
{
@@ -227,13 +228,15 @@ VideoProperties videoStreamInfo(
227228
#endif
228229
#endif
229230
case AVCOL_SPC_NB: vp.colorspace = "Not ABI"; break;
231+
default: break;
230232
}
231233
switch( codec_context->color_range )
232234
{
233235
case AVCOL_RANGE_UNSPECIFIED: vp.colorRange = "unspecified"; break;
234236
case AVCOL_RANGE_MPEG: vp.colorRange = "Head"; break;
235237
case AVCOL_RANGE_JPEG: vp.colorRange = "Full"; break;
236238
case AVCOL_RANGE_NB: vp.colorRange = "Not ABI"; break;
239+
default: break;
237240
}
238241
switch( codec_context->color_primaries )
239242
{
@@ -250,6 +253,7 @@ VideoProperties videoStreamInfo(
250253
#endif
251254
#endif
252255
case AVCOL_PRI_NB: vp.colorPrimaries = "Not ABI"; break;
256+
default: break;
253257
}
254258
switch( codec_context->chroma_sample_location )
255259
{
@@ -261,6 +265,7 @@ VideoProperties videoStreamInfo(
261265
case AVCHROMA_LOC_BOTTOMLEFT: vp.chromaSampleLocation = "bottom left"; break;
262266
case AVCHROMA_LOC_BOTTOM: vp.chromaSampleLocation = "bottom"; break;
263267
case AVCHROMA_LOC_NB: vp.chromaSampleLocation = "Not ABI"; break;
268+
default: break;
264269
}
265270
switch( codec_context->field_order )
266271
{
@@ -270,6 +275,7 @@ VideoProperties videoStreamInfo(
270275
case AV_FIELD_BB: vp.fieldOrder = "bottom bottom"; break;
271276
case AV_FIELD_TB: vp.fieldOrder = "top bottom"; break;
272277
case AV_FIELD_BT: vp.fieldOrder = "bottom top"; break;
278+
default: break;
273279
}
274280
#if LIBAVUTIL_VERSION_MAJOR > 51
275281
const AVPixFmtDescriptor* pixFmt = av_pix_fmt_desc_get( codec_context->pix_fmt );

src/AvTranscoder/Profiles/XdCamHd422.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ void loadXdCamHD422( Profile::ProfilesDesc& profiles )
7272
xdCamHd422[ "i_qfactor" ] = "-0.8";
7373
xdCamHd422[ "flags" ] = "-cgop"; // open GOP
7474

75-
xdCamHd422[ "flags" ] = "+ilme"; // use interlaced motion estimation
76-
xdCamHd422[ "flags" ] = "+ildct"; // use interlaced DCT
75+
xdCamHd422[ "flags" ] = "+ilme+ildct"; // use interlaced motion estimation + use interlaced DCT
7776

7877
xdCamHd422[ "field_order" ] = "tt";
7978

0 commit comments

Comments
 (0)