[xiph-commits] r3164 - in liboggplay/trunk: plugin src/liboggplay
src/tools
shans at svn.annodex.net
shans at svn.annodex.net
Thu Jul 19 01:00:37 PDT 2007
Author: shans
Date: 2007-07-19 01:00:37 -0700 (Thu, 19 Jul 2007)
New Revision: 3164
Modified:
liboggplay/trunk/plugin/plugin_oggplay.c
liboggplay/trunk/src/liboggplay/oggplay_seek.c
liboggplay/trunk/src/tools/dump-first-frame.c
Log:
Make use of improvements to oggz seeking algorithm - can set
presentation time appropriately now
Modified: liboggplay/trunk/plugin/plugin_oggplay.c
===================================================================
--- liboggplay/trunk/plugin/plugin_oggplay.c 2007-07-19 08:00:07 UTC (rev 3163)
+++ liboggplay/trunk/plugin/plugin_oggplay.c 2007-07-19 08:00:37 UTC (rev 3164)
@@ -396,7 +396,7 @@
pointers->last_displayed_frame_time =
oggplay_callback_info_get_presentation_time(headers[0]);
-
+
break;
#ifdef USE_AUDIO
case OGGPLAY_FLOATS_AUDIO:
Modified: liboggplay/trunk/src/liboggplay/oggplay_seek.c
===================================================================
--- liboggplay/trunk/src/liboggplay/oggplay_seek.c 2007-07-19 08:00:07 UTC (rev 3163)
+++ liboggplay/trunk/src/liboggplay/oggplay_seek.c 2007-07-19 08:00:37 UTC (rev 3164)
@@ -117,7 +117,7 @@
/*
* set the presentation time
*/
- me->presentation_time = 0;
+ me->presentation_time = milliseconds;
me->target = me->callback_period - 1;
trash->next = NULL;
Modified: liboggplay/trunk/src/tools/dump-first-frame.c
===================================================================
--- liboggplay/trunk/src/tools/dump-first-frame.c 2007-07-19 08:00:07 UTC (rev 3163)
+++ liboggplay/trunk/src/tools/dump-first-frame.c 2007-07-19 08:00:37 UTC (rev 3164)
@@ -6,6 +6,7 @@
#include <string.h>
+#include <X11/Xlib.h>
#include <Imlib2.h>
static int n_frames = 0;
More information about the commits
mailing list