summaryrefslogtreecommitdiffstats
path: root/mpcommon.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-28 08:26:14 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:11:43 +0200
commita1b8092c872977e3289e6cf5232d5b534fbd90b8 (patch)
tree2ee9b6b07f8e25f29fd8a06505c582e13403c171 /mpcommon.h
parent055f411ce338343cf996d256b262b9423ee68a20 (diff)
downloadmpv-a1b8092c872977e3289e6cf5232d5b534fbd90b8.tar.bz2
mpv-a1b8092c872977e3289e6cf5232d5b534fbd90b8.tar.xz
Factorize MPlayer/MEncoder version string handling.
The string now resides in a central object file instead of being duplicated in every file that requires a version string. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31577 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.h')
-rw-r--r--mpcommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpcommon.h b/mpcommon.h
index 3c35b8221a..b025dcc890 100644
--- a/mpcommon.h
+++ b/mpcommon.h
@@ -27,7 +27,11 @@ extern double sub_last_pts;
extern struct ass_track *ass_track;
extern subtitle *vo_sub_last;
+extern const char *mencoder_version;
+extern const char *mplayer_version;
+
struct MPContext;
+
void print_version(const char* name);
void update_subtitles(struct MPContext *mpctx, struct MPOpts *opts,
sh_video_t *sh_video, double refpts, double sub_offset,