From 0b0502791e1d8e82d2047968f05064d4a512c2e4 Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 23 Jul 2005 06:41:54 +0000 Subject: [PATCH] - Removed 'resize' property logic and width/height confusion git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@780 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/sdl/consumer_sdl.c | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/modules/sdl/consumer_sdl.c b/src/modules/sdl/consumer_sdl.c index b8ce536..577d205 100644 --- a/src/modules/sdl/consumer_sdl.c +++ b/src/modules/sdl/consumer_sdl.c @@ -193,17 +193,8 @@ int consumer_start( mlt_consumer parent ) this->running = 1; this->joined = 0; - // Allow the user to force resizing to window size - if ( mlt_properties_get_int( this->properties, "resize" ) ) - { - mlt_properties_set_int( this->properties, "width", this->width ); - mlt_properties_set_int( this->properties, "height", this->height ); - } - else - { - this->width = mlt_properties_get_int( this->properties, "width" ); - this->height = mlt_properties_get_int( this->properties, "height" ); - } + this->width = mlt_properties_get_int( this->properties, "width" ); + this->height = mlt_properties_get_int( this->properties, "height" ); pthread_create( &this->thread, NULL, consumer_thread, this ); } -- 1.7.4.4