--- /dev/null
+
+# Environment variable settings to allow execution without install
+
+export LD_LIBRARY_PATH=\
+`pwd`/../mpeg_sdk_release/bin:\
+`pwd`/../dvcpro_sdk_release/lib
+
changed = 1;
}
- if ( this->sdl_screen == NULL || changed )
- {
SDL_Rect rect;
// Determine frame's display aspect ratio
rect.x = ( this->window_width - rect.w ) / 2;
rect.y = ( this->window_height - rect.h ) / 2;
+ if ( this->sdl_screen == NULL || changed )
+ {
// Force an overlay recreation
if ( this->sdl_overlay != NULL )
SDL_FreeYUVOverlay( this->sdl_overlay );
sdl_unlock_display();
}
}
-
+ else
+ {
+ SDL_SetClipRect( this->sdl_screen, &rect );
+ }
+
if ( this->sdl_screen != NULL && this->sdl_overlay != NULL )
{
this->buffer = this->sdl_overlay->pixels[ 0 ];