File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11/*
22 * consumer_null.c -- a null consumer
3- * Copyright (C) 2003-2021 Meltytech, LLC
3+ * Copyright (C) 2003-2025 Meltytech, LLC
44 *
55 * This library is free software; you can redistribute it and/or
66 * modify it under the terms of the GNU Lesser General Public
2323
2424// System header files
2525#include <pthread.h>
26- #include <stdio.h>
2726#include <stdlib.h>
2827#include <string.h>
2928
@@ -47,6 +46,10 @@ mlt_consumer consumer_null_init(mlt_profile profile,
4746
4847 // If memory allocated and initialises without error
4948 if (consumer != NULL ) {
49+ mlt_properties properties = MLT_CONSUMER_PROPERTIES (consumer );
50+ mlt_properties_set_int (properties , "real_time" , -1 );
51+ mlt_properties_set_int (properties , "terminate_on_pause" , 1 );
52+
5053 // Assign close callback
5154 consumer -> close = consumer_close ;
5255
You can’t perform that action at this time.
0 commit comments