changeset 31133:b26739603191

Do not use correct-pts for mpeg-ps: It breaks PAFF samples.
author cehoyos
date Sat, 22 May 2010 01:17:59 +0000
parents f5478d5be47e
children 92755ba89e79
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Fri May 21 17:19:01 2010 +0000
+++ b/libmpdemux/demux_lavf.c	Sat May 22 01:17:59 2010 +0000
@@ -653,6 +653,7 @@
     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;