summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r--sub/dec_sub.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index a1f72d432b..1a2c170596 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -113,13 +113,6 @@ bool sub_is_initialized(struct dec_sub *sub)
return r;
}
-void sub_set_video_fps(struct dec_sub *sub, double fps)
-{
- pthread_mutex_lock(&sub->lock);
- sub->init_sd.video_fps = fps;
- pthread_mutex_unlock(&sub->lock);
-}
-
static int sub_init_decoder(struct dec_sub *sub, struct sd *sd)
{
sd->driver = NULL;