# HG changeset patch # User cehoyos # Date 1261515419 0 # Node ID e31fc74955d50f4b180355d9018bf24809cda57e # Parent 8eb6ecdd1b6c55e89568b66c620e3e5b9b40174d Do not use correct-pts by default for demuxer lavf, it breaks all PAFF files. diff -r 8eb6ecdd1b6c -r e31fc74955d5 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Mon Dec 21 01:59:34 2009 +0000 +++ b/libmpdemux/demux_lavf.c Tue Dec 22 20:56:59 2009 +0000 @@ -612,8 +612,6 @@ 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->avfc->duration == 0 || priv->avfc->duration == AV_NOPTS_VALUE) return DEMUXER_CTRL_DONTKNOW;