Videos with full color range like yuvj420p were converted unnecessarily
to RGB and back to YUV. If a video does not indicate is has full color
and you want to override it, then use set.force_full_luma=1.
#if LIBAVCODEC_VERSION_INT >= ((52<<16)+(72<<8)+2)
mlt_log_debug( MLT_PRODUCER_SERVICE(self->parent), "color_range %d\n", codec_context->color_range );
if ( codec_context->color_range == AVCOL_RANGE_JPEG )
- mlt_properties_set_int( properties, "set.force_full_luma", 1 );
+ self->full_luma = 1;
#endif
if ( mlt_properties_get( properties, "set.force_full_luma" ) )
self->full_luma = mlt_properties_get_int( properties, "set.force_full_luma" );