diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-27 03:40:07 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-27 03:40:07 +0000 |
commit | 34b80110e86716725dd815250ea9075129e7b2ee (patch) | |
tree | d95b38ff1b119017860788946c80c9167c2c6969 /include | |
parent | f4c8273538ebe374ecd2524d8fb6789fd3fb5796 (diff) | |
download | xine-lib-34b80110e86716725dd815250ea9075129e7b2ee.tar.gz xine-lib-34b80110e86716725dd815250ea9075129e7b2ee.tar.bz2 |
quite experimental changes on post plugin api to enable rewiring
of streams.
Michael, please let me know if you have a better idea! :)
CVS patchset: 3689
CVS date: 2002/12/27 03:40:07
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 2017f082d..0f2897622 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.48 2002/12/25 15:02:23 mroi Exp $ + * $Id: xine.h.in,v 1.49 2002/12/27 03:40:07 miguelfreitas Exp $ * * public xine-lib (libxine) interface and documentation * @@ -408,6 +408,22 @@ const xine_post_out_t *xine_post_output(xine_post_t *self, char *name); */ int xine_post_wire(xine_post_out_t *source, xine_post_in_t *target); +/* + * wire a video port to an output + * returns 1 on success, 0 on failure + */ +int xine_post_wire_video_port(xine_post_out_t *source, xine_video_port_t *vo); + +/* + * wire an audio port to an output + * returns 1 on success, 0 on failure + */ +int xine_post_wire_audio_port(xine_post_out_t *source, xine_audio_port_t *vo); + + +xine_post_out_t * xine_get_video_source(xine_stream_t *stream); +xine_post_out_t * xine_get_audio_source(xine_stream_t *stream); + /* * disposes the post plugin |