[MPlayer-cvslog] CVS: main/libmpdemux demux_mkv.c,1.46,1.47
Moritz Bunkus CVS
syncmail at mplayerhq.hu
Wed Aug 24 14:33:35 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main/libvo vo_dga.c, 1.73, 1.74 x11_common.c, 1.195, 1.196
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.16, 1.17 gl_common.h, 1.13, 1.14 vo_gl.c, 1.90, 1.91 vo_gl2.c, 1.74, 1.75
- 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-serv32123
Modified Files:
demux_mkv.c
Log Message:
Fixed seeking for AVC-in-Matroska (wrong assumption of what kind of references may be present for a non-I-frame).
Index: demux_mkv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mkv.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- demux_mkv.c 5 Aug 2005 19:57:46 -0000 1.46
+++ demux_mkv.c 24 Aug 2005 12:33:32 -0000 1.47
@@ -2919,7 +2919,7 @@
else if (num == demuxer->video->id)
{
ds = demuxer->video;
- if (mkv_d->v_skip_to_keyframe && block_bref != 0)
+ if (mkv_d->v_skip_to_keyframe && (block_bref != 0 || block_fref != 0))
use_this_block = 0;
}
else if (num == demuxer->sub->id)
@@ -2962,7 +2962,7 @@
memcpy (dp->buffer, buffer, size);
if (modified)
free (buffer);
- dp->flags = block_bref == 0 ? 1 : 0;
+ dp->flags = (block_bref == 0 && block_fref == 0) ? 1 : 0;
dp->pts = mkv_d->last_pts + i * track->default_duration;
ds_add_packet (ds, dp);
}
- Previous message: [MPlayer-cvslog] CVS: main/libvo vo_dga.c, 1.73, 1.74 x11_common.c, 1.195, 1.196
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.16, 1.17 gl_common.h, 1.13, 1.14 vo_gl.c, 1.90, 1.91 vo_gl2.c, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list