diff options
author | wm4 <wm4@nowhere> | 2015-12-27 01:25:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-27 02:13:06 +0100 |
commit | 50c379e2d8a2cee0fcdbadbcbf5d0a0617fdafec (patch) | |
tree | a499e78204d23327a3fde44da22ebac1425b4679 /sub/dec_sub.c | |
parent | d9f8b9f7b235e6092a1e8b35041757e28e08de04 (diff) | |
download | mpv-50c379e2d8a2cee0fcdbadbcbf5d0a0617fdafec.tar.bz2 mpv-50c379e2d8a2cee0fcdbadbcbf5d0a0617fdafec.tar.xz |
sub: minor refactor how video FPS for MicroDVD is set
So that the video FPs is not required at initialization, and can be set
later.
(As for whether this MicroDVD crap is worth the trouble to handle it
"correctly": MicroDVD files are unfortunately still around, and in at
least one case using the video FPS seemed to help indeed.)
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r-- | sub/dec_sub.c | 7 |
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; |