summaryrefslogtreecommitdiffstats
path: root/sub/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-31 23:59:10 +0100
committerwm4 <wm4@nowhere>2014-11-01 00:02:01 +0100
commit3f3a6b13bd05f6b0c0a68d8857699368a1949cd6 (patch)
tree72f301a4e1cc60c6ad59cc6b5762f70cd15142b5 /sub/osd.c
parent75afef64638485aa982519cee21a7b55e2b90a28 (diff)
downloadmpv-3f3a6b13bd05f6b0c0a68d8857699368a1949cd6.tar.bz2
mpv-3f3a6b13bd05f6b0c0a68d8857699368a1949cd6.tar.xz
sub: remove osd_get_sub()
Trades one strange thing against another, but seems slightly less strange.
Diffstat (limited to 'sub/osd.c')
-rw-r--r--sub/osd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sub/osd.c b/sub/osd.c
index 8eac7feb03..1a9e7f5d23 100644
--- a/sub/osd.c
+++ b/sub/osd.c
@@ -146,13 +146,6 @@ void osd_set_sub(struct osd_state *osd, int obj, struct osd_sub_state *substate)
pthread_mutex_unlock(&osd->lock);
}
-void osd_get_sub(struct osd_state *osd, int obj, struct osd_sub_state *substate)
-{
- pthread_mutex_lock(&osd->lock);
- *substate = osd->objs[obj]->sub_state;
- pthread_mutex_unlock(&osd->lock);
-}
-
bool osd_get_render_subs_in_filter(struct osd_state *osd)
{
pthread_mutex_lock(&osd->lock);