diff options
author | wm4 <wm4@nowhere> | 2014-08-20 21:35:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-20 21:35:45 +0200 |
commit | 7758c15e95c1cc4b16ca309e0760e51aad423b29 (patch) | |
tree | 0f132495d9a9e4fe20f333986f74a0e9c0223965 /video/out/vo.h | |
parent | 09897bed7f6905427dd35196b3c17aa7d3d066ab (diff) | |
download | mpv-7758c15e95c1cc4b16ca309e0760e51aad423b29.tar.bz2 mpv-7758c15e95c1cc4b16ca309e0760e51aad423b29.tar.xz |
video: don't assume query_format is thread-safe
Although it's probably safe for most VOs, there's no guarantee.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index a384ed5ad6..9e70bde310 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -288,6 +288,7 @@ void vo_seek_reset(struct vo *vo); void vo_destroy(struct vo *vo); void vo_set_paused(struct vo *vo, bool paused); int64_t vo_get_drop_count(struct vo *vo); +int vo_query_format(struct vo *vo, int format); void vo_set_flip_queue_offset(struct vo *vo, int64_t us); int64_t vo_get_vsync_interval(struct vo *vo); |