[MPlayer-cvslog] r31313 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Thu Jun 3 23:01:37 CEST 2010


Author: reimar
Date: Thu Jun  3 23:01:37 2010
New Revision: 31313

Log:
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).

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Thu Jun  3 22:59:40 2010	(r31312)
+++ trunk/libmpdemux/demux_lavf.c	Thu Jun  3 23:01:37 2010	(r31313)
@@ -672,10 +672,6 @@ static int demux_lavf_control(demuxer_t 
 
     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)


More information about the MPlayer-cvslog mailing list