From 34b80110e86716725dd815250ea9075129e7b2ee Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 27 Dec 2002 03:40:07 +0000 Subject: 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 --- include/xine.h.in | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3