summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 3abb8fca58..1a57ad2a25 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -232,8 +232,12 @@ struct vo_driver {
};
struct vo {
- int config_ok; // Last config call was successful?
- int config_count; // Total number of successful config calls
+ struct {
+ struct mp_log *log; // Using "[vo]" as prefix
+ } vo_log;
+ struct mp_log *log; // Using e.g. "[vo/vdpau]" as prefix
+ int config_ok; // Last config call was successful?
+ int config_count; // Total number of successful config calls
bool untimed; // non-interactive, don't do sleep calls in playloop
@@ -281,7 +285,8 @@ struct vo {
char *window_title;
};
-struct vo *init_best_video_out(struct mp_vo_opts *opts,
+struct mpv_global;
+struct vo *init_best_video_out(struct mpv_global *global,
struct input_ctx *input_ctx,
struct encode_lavc_context *encode_lavc_ctx);
int vo_reconfig(struct vo *vo, struct mp_image_params *p, int flags);