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

cehoyos subversion at mplayerhq.hu
Mon Dec 28 14:49:08 CET 2009


Author: cehoyos
Date: Mon Dec 28 14:49:08 2009
New Revision: 30134

Log:
Do not use correct-pts for mpeg-ts and matroska: It breaks PAFF samples.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Mon Dec 28 14:39:26 2009	(r30133)
+++ trunk/libmpdemux/demux_lavf.c	Mon Dec 28 14:49:08 2009	(r30134)
@@ -613,6 +613,9 @@ static int demux_lavf_control(demuxer_t 
 
     switch (cmd) {
         case DEMUXER_CTRL_CORRECT_PTS:
+            if (!strcmp("matroska", 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