summaryrefslogtreecommitdiffstats
path: root/core/encode.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-04 22:21:57 +0100
committerwm4 <wm4@nowhere>2013-03-04 22:21:57 +0100
commit7889e38f21a4ed65f020a1805b799478f1ad6e55 (patch)
treec63fc87cdf380117e8a2fbe035f11862c1c485c0 /core/encode.h
parent6ef1a1cddd9ae43c80a337b5224955735b987074 (diff)
downloadmpv-7889e38f21a4ed65f020a1805b799478f1ad6e55.tar.bz2
mpv-7889e38f21a4ed65f020a1805b799478f1ad6e55.tar.xz
Remove vo_fps global variable
This is needed by the encode stuff for some reason, so we have to explicitly pass it. Functionality shouldn't change.
Diffstat (limited to 'core/encode.h')
-rw-r--r--core/encode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/encode.h b/core/encode.h
index f0f65f14c5..fdeb273f34 100644
--- a/core/encode.h
+++ b/core/encode.h
@@ -16,6 +16,7 @@ void encode_lavc_discontinuity(struct encode_lavc_context *ctx);
bool encode_lavc_showhelp(struct MPOpts *opts);
int encode_lavc_getstatus(struct encode_lavc_context *ctx, char *buf, int bufsize, float relative_position, float playback_time);
void encode_lavc_expect_stream(struct encode_lavc_context *ctx, enum AVMediaType mt);
+void encode_lavc_set_video_fps(struct encode_lavc_context *ctx, float fps);
bool encode_lavc_didfail(struct encode_lavc_context *ctx); // check if encoding failed
#endif