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.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index 4450f577c2..4746b8f2cc 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -112,14 +112,6 @@ bool sub_is_initialized(struct dec_sub *sub)
return r;
}
-void sub_set_video_res(struct dec_sub *sub, int w, int h)
-{
- pthread_mutex_lock(&sub->lock);
- sub->init_sd.sub_video_w = w;
- sub->init_sd.sub_video_h = h;
- pthread_mutex_unlock(&sub->lock);
-}
-
void sub_set_video_fps(struct dec_sub *sub, double fps)
{
pthread_mutex_lock(&sub->lock);