summaryrefslogtreecommitdiffstats
path: root/demux/demux_mf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-12 22:12:31 +0200
committerwm4 <wm4@nowhere>2013-07-12 22:16:27 +0200
commit879c7a101b36674a952791d2f97cc38782052435 (patch)
treebf07900c02dde303c2c665c638f25b663cc95412 /demux/demux_mf.c
parent6c414f8c7a66ce3bb0c2446cb7fb0fb802a9e98b (diff)
downloadmpv-879c7a101b36674a952791d2f97cc38782052435.tar.bz2
mpv-879c7a101b36674a952791d2f97cc38782052435.tar.xz
demux: assume correct-pts mode by default
All demuxers make a reasonable effort to set packet timestamps, and thus support correct-pts mode. This commit also implicitly switches demux_rawvideo to correct-pts mode. We still allow demuxers to disable correct-pts mode in theory.
Diffstat (limited to 'demux/demux_mf.c')
-rw-r--r--demux/demux_mf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/demux/demux_mf.c b/demux/demux_mf.c
index 5c92476c82..7c4b83692d 100644
--- a/demux/demux_mf.c
+++ b/demux/demux_mf.c
@@ -235,9 +235,6 @@ static int demux_control_mf(demuxer_t *demuxer, int cmd, void *arg) {
*((double *)arg) = (double)mf->nr_of_files / mf->sh->fps;
return DEMUXER_CTRL_OK;
- case DEMUXER_CTRL_CORRECT_PTS:
- return DEMUXER_CTRL_OK;
-
default:
return DEMUXER_CTRL_NOTIMPL;
}