GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * shoes/ruby.c: free the vlc media player instance.
why (author)
Sat Oct 11 23:40:01 -0700 2008
commit  d8e5c50261f26a77b51782ab7600472ca79205aa
tree    fa632611b7f77f28a8e0d94ef7af6b4e22a42cf7
parent  51e784073ea1c0abd8aa90d65448576057cc71f9
...
25
26
27
28
 
29
30
31
...
25
26
27
 
28
29
30
31
0
@@ -25,7 +25,7 @@
0
 #else
0
 #include <vlc/vlc.h>
0
 #include <vlc/libvlc.h>
0
-#define libvlc_destroy libvlc_release
0
+#define libvlc_destroy libvlc_media_player_release
0
 #define vlc_int64_t libvlc_time_t
0
 #define shoes_libvlc_clear libvlc_media_player_pause
0
 #define shoes_libvlc_prev libvlc_media_player_stop
...
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
...
1238
1239
1240
 
1241
1242
 
1243
1244
1245
0
@@ -1238,10 +1238,8 @@ shoes_video_mark(shoes_video *video)
0
 static void
0
 shoes_video_free(shoes_video *video)
0
 {
0
-#ifdef VLC_0_8
0
   if (video->vlc != NULL)
0
     libvlc_destroy(video->vlc);
0
-#endif
0
   RUBY_CRITICAL(SHOE_FREE(video));
0
 }
0
 

Comments

    No one has commented yet.