diff options
author | wm4 <wm4@nowhere> | 2013-07-12 22:12:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-12 22:16:27 +0200 |
commit | 879c7a101b36674a952791d2f97cc38782052435 (patch) | |
tree | bf07900c02dde303c2c665c638f25b663cc95412 /demux/demux_lavf.c | |
parent | 6c414f8c7a66ce3bb0c2446cb7fb0fb802a9e98b (diff) | |
download | mpv-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_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index e788b5b77c..82ca2e24d0 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -778,8 +778,6 @@ static int demux_lavf_control(demuxer_t *demuxer, int cmd, void *arg) lavf_priv_t *priv = demuxer->priv; switch (cmd) { - case DEMUXER_CTRL_CORRECT_PTS: - return DEMUXER_CTRL_OK; case DEMUXER_CTRL_GET_TIME_LENGTH: if (priv->seek_by_bytes) { /* Our bitrate estimate may be better than would be used in |