SDL_Rect rect;
uint8_t *buffer;
int bpp;
- int filtered;
};
/** Forward references to static functions.
this->bpp = mlt_properties_get_int( this->properties, "bpp" );
- // Attach a colour space converter
- if ( preview_off && !this->filtered )
- {
- mlt_profile profile = mlt_service_profile( MLT_CONSUMER_SERVICE( parent ) );
- mlt_filter filter = mlt_factory_filter( profile, "avcolour_space", NULL );
- if ( filter )
- {
- mlt_properties_set_int( MLT_FILTER_PROPERTIES( filter ), "forced", mlt_image_yuv422 );
- mlt_service_attach( MLT_CONSUMER_SERVICE( parent ), filter );
- mlt_filter_close( filter );
- }
- this->filtered = 1;
- }
-
if ( sdl_started == 0 && display_off == 0 )
{
if ( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE ) < 0 )