changeset 30058:e31fc74955d5

Do not use correct-pts by default for demuxer lavf, it breaks all PAFF files.
author cehoyos
date Tue, 22 Dec 2009 20:56:59 +0000
parents 8eb6ecdd1b6c
children 29977961a197
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;