summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-18 02:04:40 +0100
committerwm4 <wm4@nowhere>2015-12-18 03:59:52 +0100
commit5dd5dc66c174a5c3c4a8789572445466fd04f2e7 (patch)
treebcaec5551856c8dae22c5c17b021b4f624ddc53c /sub/dec_sub.c
parent00135a87f04c1d288f8b75fe1df0a28531aced4e (diff)
downloadmpv-5dd5dc66c174a5c3c4a8789572445466fd04f2e7.tar.bz2
mpv-5dd5dc66c174a5c3c4a8789572445466fd04f2e7.tar.xz
sub: remove unused video width/height headers
Apparently, this was replaced by the SD_CTRL_SET_VIDEO_PARAMS set dimensions. But I can't find out when this happened - possibly, these fields were never used by sd_lavc.c, and only by the (long removed) MPlayer dvdsub decoder.
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);