mirror of https://github.com/mpv-player/mpv
Do not use correct-pts by default for demuxer lavf, it breaks all PAFF files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30100 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
34fb57ce56
commit
468d5f2e0a
|
@ -612,8 +612,6 @@ static int demux_lavf_control(demuxer_t *demuxer, int cmd, void *arg)
|
|||
lavf_priv_t *priv = demuxer->priv;
|
||||
|
||||
switch (cmd) {
|
||||
case DEMUXER_CTRL_CORRECT_PTS:
|
||||
return DEMUXER_CTRL_OK;
|
||||
case DEMUXER_CTRL_GET_TIME_LENGTH:
|
||||
if (priv->avfc->duration == 0 || priv->avfc->duration == AV_NOPTS_VALUE)
|
||||
return DEMUXER_CTRL_DONTKNOW;
|
||||
|
|
Loading…
Reference in New Issue