summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/osd.c7
-rw-r--r--sub/osd.h1
2 files changed, 0 insertions, 8 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);
diff --git a/sub/osd.h b/sub/osd.h
index e1da9bccd2..015bae29e5 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -157,7 +157,6 @@ struct osd_sub_state {
bool render_bitmap_subs;
};
void osd_set_sub(struct osd_state *osd, int obj, struct osd_sub_state *substate);
-void osd_get_sub(struct osd_state *osd, int obj, struct osd_sub_state *substate);
bool osd_get_render_subs_in_filter(struct osd_state *osd);
void osd_set_render_subs_in_filter(struct osd_state *osd, bool s);