summaryrefslogtreecommitdiffstats
path: root/stream/stream_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_memory.c')
-rw-r--r--stream/stream_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_memory.c b/stream/stream_memory.c
index 7b1092a76d..01246cf33f 100644
--- a/stream/stream_memory.c
+++ b/stream/stream_memory.c
@@ -86,7 +86,7 @@ struct stream *stream_memory_open(struct mpv_global *global, void *data, int len
struct stream_open_args sargs = {
.global = global,
.url = "memory://",
- .flags = STREAM_READ | STREAM_SILENT,
+ .flags = STREAM_READ | STREAM_SILENT | STREAM_ORIGIN_DIRECT,
.sinfo = &stream_info_memory,
.special_arg = &(bstr){data, len},
};