Update of /cvsroot/freevo/kaa/xine/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17535
Modified Files:
__init__.py xine.c
Log Message:
Add some new list_*_plugins
Index: xine.c
===================================================================
RCS file: /cvsroot/freevo/kaa/xine/src/xine.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** xine.c 19 Jul 2005 05:51:59 -0000 1.6
--- xine.c 19 Jul 2005 06:01:24 -0000 1.7
***************
*** 181,184 ****
--- 181,194 ----
else if (!strcmp(type, "audio"))
list = xine_list_audio_output_plugins(self->xine);
+ else if (!strcmp(type, "demuxer"))
+ list = xine_list_demuxer_plugins(self->xine);
+ else if (!strcmp(type, "input"))
+ list = xine_list_input_plugins(self->xine);
+ else if (!strcmp(type, "spu"))
+ list = xine_list_spu_plugins(self->xine);
+ else if (!strcmp(type, "audio_decoder"))
+ list = xine_list_audio_decoder_plugins(self->xine);
+ else if (!strcmp(type, "video_decoder"))
+ list = xine_list_video_decoder_plugins(self->xine);
else if (!strcmp(type, "post")) {
if (post_types == -1)
Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/kaa/xine/src/__init__.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** __init__.py 19 Jul 2005 05:51:59 -0000 1.6
--- __init__.py 19 Jul 2005 06:01:24 -0000 1.7
***************
*** 89,92 ****
--- 89,107 ----
return self._xine.list_plugins("post", types)
+ def list_demuxer_plugins(self):
+ return self._xine.list_plugins("demuxer")
+
+ def list_input_plugins(self):
+ return self._xine.list_plugins("input")
+
+ def list_spu_plugins(self):
+ return self._xine.list_plugins("spu")
+
+ def list_audio_decoder_plugins(self):
+ return self._xine.list_plugins("audio_decoder")
+
+ def list_video_decoder_plugins(self):
+ return self._xine.list_plugins("video_decoder")
+
def post_init(self, name, inputs = 0, audio_targets = [], video_targets =
[]):
assert(type(audio_targets) in (list, tuple))
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog