diff options
author | wm4 <wm4@nowhere> | 2013-07-31 21:44:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-31 21:46:40 +0200 |
commit | 03bef3adfd846fc1dda88a888df972f4b501fb40 (patch) | |
tree | ed96c695c75a5cbfc7afa4bf6b3eff38b53d4410 /video/out/vo.h | |
parent | 88d79fc00df39dc0180de86c758697f5ab3e56cb (diff) | |
download | mpv-03bef3adfd846fc1dda88a888df972f4b501fb40.tar.bz2 mpv-03bef3adfd846fc1dda88a888df972f4b501fb40.tar.xz |
video/out: use new mp_msg stuff for vo.c and vo_opengl
The first step; also serves as example.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 11 |
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); |