diff options
author | wm4 <wm4@nowhere> | 2020-02-12 19:10:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-12 19:10:03 +0100 |
commit | 469a124c71bcc3e47ee6362796bd9a506a98f235 (patch) | |
tree | ffa4f35d00b75d21801ba368ccd2ff59d4e3c429 /stream/stream_file.c | |
parent | c3f93f5fdd33ada85e700bf8bad7d70f6739eed4 (diff) | |
download | mpv-stream_debug_stuff.tar.bz2 mpv-stream_debug_stuff.tar.xz |
debug stuffstream_debug_stuff
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r-- | stream/stream_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index a79ef0e913..04e74c6b00 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -98,7 +98,9 @@ static int fill_buffer(stream_t *s, void *buffer, int max_len) #endif for (int retries = 0; retries < MAX_RETRIES; retries++) { + MP_STATS(s, "start read"); int r = read(p->fd, buffer, max_len); + MP_STATS(s, "end read"); if (r > 0) return r; |