From 9bfe6d43370c7bab6c0a7e3226989f93cb3c112a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 18 Sep 2010 01:40:58 +0200 Subject: [PATCH] off by one frame --- src/oxframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oxframe.c b/src/oxframe.c index 3c94fd4..e4ff7eb 100644 --- a/src/oxframe.c +++ b/src/oxframe.c @@ -403,7 +403,7 @@ int extract_frame_webm(oxstate *state) { while((img = vpx_codec_get_frame(&codec, &iter))) { //we got a frame... - if(seek_tstamp < pkt_tstamp) { + if(seek_tstamp <= pkt_tstamp) { unsigned int y; unsigned char *q, *p, *q2, *p2; OggPlayYUVChannels from;