From 5e1dfa4e3a5079a317979bf5ff8653dc152112a7 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Thu, 3 May 2001 23:26:40 +0000 Subject: Add get capabilites to public API. CVS patchset: 60 CVS date: 2001/05/03 23:26:40 --- src/video_out/video_out_xv.c | 5 +++-- src/xine-engine/xine.c | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 5441a4536..7cdebdd52 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -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: video_out_xv.c,v 1.10 2001/05/03 22:20:45 f1rmb Exp $ + * $Id: video_out_xv.c,v 1.11 2001/05/03 23:26:42 f1rmb Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -679,7 +679,8 @@ static int xv_check_yv12 (Display *display, XvPortID port) return 1; } -static void xv_check_capability (xv_driver_t *this, uint32_t capability, int property, +static void xv_check_capability (xv_driver_t *this, + uint32_t capability, int property, XvAttribute attr, int base_id, char *str_prop) { int nDefault; diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 41191123f..e8179b5ad 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -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.c,v 1.13 2001/05/03 22:20:45 f1rmb Exp $ + * $Id: xine.c,v 1.14 2001/05/03 23:26:42 f1rmb Exp $ * * top-level xine functions * @@ -526,6 +526,10 @@ int xine_get_status(xine_t *this) { return this->status; } +uint32_t xine_get_window_capabilities(xine_t *this) { + + return (this->video_out->get_capabilities(this->video_out)); +} /* * */ -- cgit v1.2.3