[Mplayer-cvslog] CVS: main demux_avi.c,1.8,1.9
Arpi of Ize
arpi at mplayer.dev.hu
Sun Jul 29 03:28:10 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main seek.c,1.2,1.3 dec_audio.c,1.23,1.24
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.193,1.194 dec_audio.c,1.24,1.25 dec_video.c,1.12,1.13 codec-cfg.h,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv26219
Modified Files:
demux_avi.c
Log Message:
video pts calculation fixed (Desperado-trailer.avi)
Index: demux_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_avi.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- demux_avi.c 21 Jul 2001 00:10:09 -0000 1.8
+++ demux_avi.c 29 Jul 2001 01:28:07 -0000 1.9
@@ -68,7 +68,7 @@
pts=avi_audio_pts;
avi_audio_pts=0;
} else
- if(ds && ds==demux->video){
+ if(ds==demux->video){
// video
if(skip_video_frames>0){
// drop frame (seeking)
@@ -85,7 +85,8 @@
#if 1
// printf("ds=0x%X\n",ds);
// printf("packno=%d\n",ds->pack_no);
- avi_video_pts = demux->video->pack_no *
+// printf("### pack_no=%d\n",demux->video->pack_no+demux->video->packs);
+ avi_video_pts = (demux->video->pack_no+demux->video->packs) *
(float)((sh_video_t*)demux->video->sh)->video.dwScale /
(float)((sh_video_t*)demux->video->sh)->video.dwRate;
#else
- Previous message: [Mplayer-cvslog] CVS: main seek.c,1.2,1.3 dec_audio.c,1.23,1.24
- Next message: [Mplayer-cvslog] CVS: main mplayer.c,1.193,1.194 dec_audio.c,1.24,1.25 dec_video.c,1.12,1.13 codec-cfg.h,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list