[MPlayer-cvslog] CVS: main/libmpdemux demux_mkv.c,1.58,1.59
Moritz Bunkus CVS
syncmail at mplayerhq.hu
Mon Apr 24 08:28:47 CEST 2006
- Previous message: [MPlayer-cvslog] CVS: main/libvo aspect.c, 1.19, 1.20 mga_common.c, 1.62, 1.63 vesa_lvo.c, 1.20, 1.21 video_out.c, 1.105, 1.106 vo_3dfx.c, 1.21, 1.22 vo_dxr3.c, 1.127, 1.128 vo_mga.c, 1.41, 1.42 vo_null.c, 1.14, 1.15 vo_png.c, 1.28, 1.29 vo_sdl.c, 1.125, 1.126 vo_svga.c, 1.82, 1.83 vo_syncfb.c, 1.16, 1.17 vo_tdfx_vid.c, 1.6, 1.7 vo_tdfxfb.c, 1.28, 1.29 vo_tga.c, 1.4, 1.5 vo_vesa.c, 1.110, 1.111 vo_x11.c, 1.147, 1.148 vo_xv.c, 1.170, 1.171 vosub_vidix.c, 1.67, 1.68
- Next message: [MPlayer-cvslog] CVS: main/libaf af.c,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Moritz Bunkus CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv20637
Modified Files:
demux_mkv.c
Log Message:
Do not give bogus timestamps for laced packets with no default duration. Patch by Uoti Urpala ( uoti ! urpala () pp1 ! inet ! fi ).
Index: demux_mkv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mkv.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- demux_mkv.c 14 Apr 2006 21:08:25 -0000 1.58
+++ demux_mkv.c 24 Apr 2006 06:28:45 -0000 1.59
@@ -3143,6 +3143,10 @@
if (modified)
free (buffer);
dp->flags = (block_bref == 0 && block_fref == 0) ? 0x10 : 0;
+ /* If default_duration is 0, assume no pts value is known
+ * for packets after the first one (rather than all pts
+ * values being the same) */
+ if (i == 0 || track->default_duration)
dp->pts = mkv_d->last_pts + i * track->default_duration;
ds_add_packet (ds, dp);
}
- Previous message: [MPlayer-cvslog] CVS: main/libvo aspect.c, 1.19, 1.20 mga_common.c, 1.62, 1.63 vesa_lvo.c, 1.20, 1.21 video_out.c, 1.105, 1.106 vo_3dfx.c, 1.21, 1.22 vo_dxr3.c, 1.127, 1.128 vo_mga.c, 1.41, 1.42 vo_null.c, 1.14, 1.15 vo_png.c, 1.28, 1.29 vo_sdl.c, 1.125, 1.126 vo_svga.c, 1.82, 1.83 vo_syncfb.c, 1.16, 1.17 vo_tdfx_vid.c, 1.6, 1.7 vo_tdfxfb.c, 1.28, 1.29 vo_tga.c, 1.4, 1.5 vo_vesa.c, 1.110, 1.111 vo_x11.c, 1.147, 1.148 vo_xv.c, 1.170, 1.171 vosub_vidix.c, 1.67, 1.68
- Next message: [MPlayer-cvslog] CVS: main/libaf af.c,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list