Error property for valerie returned
[melted] / src / modules / valerie / consumer_valerie.c
index 71a274c..5126701 100644 (file)
@@ -111,6 +111,7 @@ static int consumer_start( mlt_consumer this )
                        else
                        {
                                fprintf( stderr, "Unable to connect to the server at %s:%d\n", server, port );
+                               mlt_properties_set_int( properties, "_error", 1 );
                                valerie_close( connection );
                                valerie_parser_close( parser );
                                connection = NULL;