Mercurial > mplayer.hg
changeset 18873:f974a20a7543
Fix A-V sync for real files (also live streams)
author | rtogni |
---|---|
date | Sat, 01 Jul 2006 12:06:43 +0000 |
parents | f2fe972c7617 |
children | 57bb217e71a4 |
files | libmpdemux/video.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/video.c Sat Jul 01 10:59:21 2006 +0000 +++ b/libmpdemux/video.c Sat Jul 01 12:06:43 2006 +0000 @@ -580,7 +580,6 @@ case DEMUXER_TYPE_FILM: case DEMUXER_TYPE_VIVO: case DEMUXER_TYPE_OGG: - case DEMUXER_TYPE_REAL: case DEMUXER_TYPE_ASF: { float next_pts = ds_get_next_pts(d_video); float d= next_pts > 0 ? next_pts - d_video->pts : d_video->pts-pts1; @@ -599,6 +598,7 @@ } } break; + case DEMUXER_TYPE_REAL: case DEMUXER_TYPE_LAVF: if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){ float next_pts = ds_get_next_pts(d_video);