changeset 31247:5c77adfd862e

Try always enabling correct pts again for lavf demuxer, since the know issue with PAFF seems solved to me, and disabled correct-pts causes flickering with -ass (which of course should be fixed as well though).
author reimar
date Thu, 03 Jun 2010 21:01:37 +0000
parents cc6ee3017097
children 05f2b2395578
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Thu Jun 03 20:59:40 2010 +0000
+++ b/libmpdemux/demux_lavf.c	Thu Jun 03 21:01:37 2010 +0000
@@ -672,10 +672,6 @@
 
     switch (cmd) {
         case DEMUXER_CTRL_CORRECT_PTS:
-            if (!strcmp("matroska", priv->avif->name) ||
-                !strcmp("mpeg",     priv->avif->name) ||
-                !strcmp("mpegts",   priv->avif->name))
-                return DEMUXER_CTRL_NOTIMPL;
 	    return DEMUXER_CTRL_OK;
         case DEMUXER_CTRL_GET_TIME_LENGTH:
 	    if (priv->avfc->duration == 0 || priv->avfc->duration == AV_NOPTS_VALUE)