Do not use correct-pts for mpeg-ps: It breaks PAFF samples.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31190 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2010-05-22 01:17:59 +00:00
parent 0dd2ddd2bc
commit 4e2622ed33
1 changed files with 1 additions and 0 deletions

View File

@ -653,6 +653,7 @@ static int demux_lavf_control(demuxer_t *demuxer, int cmd, void *arg)
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;