[xiph-commits] r2988 - liboggplay/trunk/plugin

shans at svn.annodex.net shans at svn.annodex.net
Mon Jun 18 01:24:24 PDT 2007


Author: shans
Date: 2007-06-18 01:24:24 -0700 (Mon, 18 Jun 2007)
New Revision: 2988

Modified:
   liboggplay/trunk/plugin/plugin_oggplay.c
Log:
Pass location into reader rather than oggplay creation



Modified: liboggplay/trunk/plugin/plugin_oggplay.c
===================================================================
--- liboggplay/trunk/plugin/plugin_oggplay.c	2007-06-18 08:23:48 UTC (rev 2987)
+++ liboggplay/trunk/plugin/plugin_oggplay.c	2007-06-18 08:24:24 UTC (rev 2988)
@@ -108,14 +108,14 @@
 #endif
 
   PluginPointers  * pointers      = (PluginPointers *)handle;
-  OggPlayReader   * reader        = oggplay_tcp_reader_new();
+  OggPlayReader   * reader        = oggplay_tcp_reader_new(pointers->location);
   OggPlay         * player;
   int               i;
   int               video_track   = -1;
   int               audio_track   = -1;
   ogg_int64_t		time_ref;
 
-  player = oggplay_new_with_reader(reader, pointers->location);
+  player = oggplay_new_with_reader(reader);
 
   pointers->shutdown_oggplay = 0;
   pointers->player = player;



More information about the commits mailing list