summaryrefslogtreecommitdiff
path: root/src/video_out
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-01-09 22:33:03 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-01-09 22:33:03 +0000
commit4733aeda97b6185b8c237ce4ac2b89ba167e6fa7 (patch)
treed61605a7aebffc0815a21ca612a7c0396aa14fb7 /src/video_out
parentececfe35ac7653d21dbf0c5a69f68915ea1d0bd9 (diff)
downloadxine-lib-4733aeda97b6185b8c237ce4ac2b89ba167e6fa7.tar.gz
xine-lib-4733aeda97b6185b8c237ce4ac2b89ba167e6fa7.tar.bz2
video_driver api changed.
dxr3 decoder only functions if the dxr3 video_out driver loaded. xine_t changed. CVS patchset: 1381 CVS date: 2002/01/09 22:33:03
Diffstat (limited to 'src/video_out')
-rw-r--r--src/video_out/video_out_aa.c6
-rw-r--r--src/video_out/video_out_syncfb.c6
-rw-r--r--src/video_out/video_out_xshm.c6
-rw-r--r--src/video_out/video_out_xv.c7
4 files changed, 17 insertions, 8 deletions
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c
index ae8d76767..92e69ee28 100644
--- a/src/video_out/video_out_aa.c
+++ b/src/video_out/video_out_aa.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_aa.c,v 1.13 2001/10/03 15:14:03 jkeil Exp $
+ * $Id: video_out_aa.c,v 1.14 2002/01/09 22:33:04 jcdutton Exp $
*
* video_out_aa.c, ascii-art output plugin for xine
*
@@ -76,6 +76,7 @@ typedef struct {
/*
* our video driver
*/
+vo_info_t *get_video_out_plugin_info();
static uint32_t aa_get_capabilities (vo_driver_t *this) {
return VO_CAP_YV12 | VO_CAP_YUY2;
@@ -288,12 +289,13 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
this->vo_driver.get_property_min_max = aa_get_property_min_max;
this->vo_driver.gui_data_exchange = NULL;
this->vo_driver.exit = aa_exit;
+ this->vo_driver.get_info = get_video_out_plugin_info;
return (vo_driver_t*) this;
}
static vo_info_t vo_info_aa = {
- 2,
+ 3,
"aa",
"xine video output plugin using the ascii-art library",
VISUAL_TYPE_AA,
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index db8214150..36104a518 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.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_syncfb.c,v 1.49 2001/12/29 15:43:02 miguelfreitas Exp $
+ * $Id: video_out_syncfb.c,v 1.50 2002/01/09 22:33:04 jcdutton Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -161,6 +161,7 @@ int gX11Fail;
/*
* internal video_out_syncfb functions
*/
+vo_info_t *get_video_out_plugin_info();
/* returns boolean value (1 success, 0 failure) */
int syncfb_overlay_on(syncfb_driver_t* this) {
@@ -1281,6 +1282,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
this->vo_driver.get_property_min_max = syncfb_get_property_min_max;
this->vo_driver.gui_data_exchange = syncfb_gui_data_exchange;
this->vo_driver.exit = syncfb_exit;
+ this->vo_driver.get_info = get_video_out_plugin_info;
this->deinterlace_enabled = 0;
@@ -1288,7 +1290,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
}
static vo_info_t vo_info_syncfb = {
- 2,
+ 3,
"SyncFB",
"xine video output plugin using the SyncFB module for Matrox G200/G400 cards",
VISUAL_TYPE_X11,
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index d6a744f80..b308ff16a 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.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_xshm.c,v 1.52 2001/11/28 22:19:12 miguelfreitas Exp $
+ * $Id: video_out_xshm.c,v 1.53 2002/01/09 22:33:04 jcdutton Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -159,6 +159,7 @@ int gX11Fail;
/*
* first, some utility functions
*/
+vo_info_t *get_video_out_plugin_info();
int HandleXError (Display *display, XErrorEvent *xevent) {
@@ -1224,6 +1225,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
this->vo_driver.get_property_min_max = xshm_get_property_min_max;
this->vo_driver.gui_data_exchange = xshm_gui_data_exchange;
this->vo_driver.exit = xshm_exit;
+ this->vo_driver.get_info = get_video_out_plugin_info;
/*
@@ -1348,7 +1350,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
}
static vo_info_t vo_info_shm = {
- 2,
+ 3,
"XShm",
"xine video output plugin using the MIT X shared memory extension",
VISUAL_TYPE_X11,
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 8306ec79c..d01bb6830 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.87 2002/01/05 13:49:30 miguelfreitas Exp $
+ * $Id: video_out_xv.c,v 1.88 2002/01/09 22:33:04 jcdutton Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -168,6 +168,8 @@ struct xv_driver_s {
int gX11Fail;
+vo_info_t *get_video_out_plugin_info();
+
static uint32_t xv_get_capabilities (vo_driver_t *this_gen) {
xv_driver_t *this = (xv_driver_t *) this_gen;
@@ -1369,6 +1371,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
this->vo_driver.get_property_min_max = xv_get_property_min_max;
this->vo_driver.gui_data_exchange = xv_gui_data_exchange;
this->vo_driver.exit = xv_exit;
+ this->vo_driver.get_info = get_video_out_plugin_info;
/*
* init properties
@@ -1499,7 +1502,7 @@ vo_driver_t *init_video_out_plugin (config_values_t *config, void *visual_gen) {
}
static vo_info_t vo_info_xv = {
- 2,
+ 3,
"Xv",
"xine video output plugin using the MIT X video extension",
VISUAL_TYPE_X11,