realtime scheduling updates; suppress libdv errors; add frame property deinterlace_me...
[melted] / src / modules / sdl / consumer_sdl.c
index 50e08d8..35c39c8 100644 (file)
@@ -175,8 +175,6 @@ int consumer_start( mlt_consumer parent )
 
        if ( !this->running )
        {
-               pthread_attr_t thread_attributes;
-               
                consumer_stop( parent );
 
                this->running = 1;
@@ -189,11 +187,7 @@ int consumer_start( mlt_consumer parent )
                        mlt_properties_set_int( this->properties, "height", this->height );
                }
 
-               // Inherit the scheduling priority
-               pthread_attr_init( &thread_attributes );
-               pthread_attr_setinheritsched( &thread_attributes, PTHREAD_INHERIT_SCHED );
-
-               pthread_create( &this->thread, &thread_attributes, consumer_thread, this );
+               pthread_create( &this->thread, NULL, consumer_thread, this );
        }
 
        return 0;