From 879c7a101b36674a952791d2f97cc38782052435 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Jul 2013 22:12:31 +0200 Subject: 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. --- demux/demux_lavf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'demux/demux_lavf.c') 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 -- cgit v1.2.3