From 93f63214e09e081d55ea77f2460c4c2424059675 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Jul 2014 00:30:01 +0200 Subject: demux: remove accurate_seek field It's unused now. (Only the dvd code used it until recently.) --- demux/demux.c | 1 - demux/demux.h | 3 --- 2 files changed, 4 deletions(-) (limited to 'demux') diff --git a/demux/demux.c b/demux/demux.c index b04adbaabb..e716194614 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -453,7 +453,6 @@ static struct demuxer *open_given_type(struct mpv_global *global, .type = desc->type, .stream = stream, .seekable = stream->seekable, - .accurate_seek = true, .filepos = -1, .opts = global->opts, .global = global, diff --git a/demux/demux.h b/demux/demux.h index 133e9ddd7a..58da35c796 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -177,9 +177,6 @@ typedef struct demuxer { enum demuxer_type type; int seekable; // flag double start_time; - /* Set if using absolute seeks for small movements is OK (no pts resets - * that would make pts ambigious, preferably supports back/forward flags */ - bool accurate_seek; // File format allows PTS resets (even if the current file is without) bool ts_resets_possible; bool warned_queue_overflow; -- cgit v1.2.3