X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2Fconsumer_sdl.c;h=577d205de9be9067a42e93e5bd96eca0422a2177;hb=0b0502791e1d8e82d2047968f05064d4a512c2e4;hp=b8ce5367b6cb1d76d354a8d175c505fa5d39ded5;hpb=18deadc4f5b3c17c46055d16b78259c561772f29;p=melted 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 ); }