diff --git a/src/AvTranscoder/Metadatas/VideoStreamProperties.hpp b/src/AvTranscoder/Metadatas/VideoStreamProperties.hpp index e4d9bc20..84996e0d 100644 --- a/src/AvTranscoder/Metadatas/VideoStreamProperties.hpp +++ b/src/AvTranscoder/Metadatas/VideoStreamProperties.hpp @@ -203,6 +203,7 @@ VideoProperties videoStreamInfo( #endif #endif case AVCOL_TRC_NB: vp.colorTransfert = "Not ABI"; break; + default: break; } switch( codec_context->colorspace ) { @@ -227,6 +228,7 @@ VideoProperties videoStreamInfo( #endif #endif case AVCOL_SPC_NB: vp.colorspace = "Not ABI"; break; + default: break; } switch( codec_context->color_range ) { @@ -234,6 +236,7 @@ VideoProperties videoStreamInfo( case AVCOL_RANGE_MPEG: vp.colorRange = "Head"; break; case AVCOL_RANGE_JPEG: vp.colorRange = "Full"; break; case AVCOL_RANGE_NB: vp.colorRange = "Not ABI"; break; + default: break; } switch( codec_context->color_primaries ) { @@ -250,6 +253,7 @@ VideoProperties videoStreamInfo( #endif #endif case AVCOL_PRI_NB: vp.colorPrimaries = "Not ABI"; break; + default: break; } switch( codec_context->chroma_sample_location ) { @@ -261,6 +265,7 @@ VideoProperties videoStreamInfo( case AVCHROMA_LOC_BOTTOMLEFT: vp.chromaSampleLocation = "bottom left"; break; case AVCHROMA_LOC_BOTTOM: vp.chromaSampleLocation = "bottom"; break; case AVCHROMA_LOC_NB: vp.chromaSampleLocation = "Not ABI"; break; + default: break; } switch( codec_context->field_order ) { @@ -270,6 +275,7 @@ VideoProperties videoStreamInfo( case AV_FIELD_BB: vp.fieldOrder = "bottom bottom"; break; case AV_FIELD_TB: vp.fieldOrder = "top bottom"; break; case AV_FIELD_BT: vp.fieldOrder = "bottom top"; break; + default: break; } #if LIBAVUTIL_VERSION_MAJOR > 51 const AVPixFmtDescriptor* pixFmt = av_pix_fmt_desc_get( codec_context->pix_fmt ); diff --git a/src/AvTranscoder/Profiles/XdCamHd422.hpp b/src/AvTranscoder/Profiles/XdCamHd422.hpp index 40558ef3..95fc26db 100644 --- a/src/AvTranscoder/Profiles/XdCamHd422.hpp +++ b/src/AvTranscoder/Profiles/XdCamHd422.hpp @@ -72,8 +72,7 @@ void loadXdCamHD422( Profile::ProfilesDesc& profiles ) xdCamHd422[ "i_qfactor" ] = "-0.8"; xdCamHd422[ "flags" ] = "-cgop"; // open GOP - xdCamHd422[ "flags" ] = "+ilme"; // use interlaced motion estimation - xdCamHd422[ "flags" ] = "+ildct"; // use interlaced DCT + xdCamHd422[ "flags" ] = "+ilme+ildct"; // use interlaced motion estimation + use interlaced DCT xdCamHd422[ "field_order" ] = "tt";