From 0ee66af23049eba5ff2aa82f80e316ec3ddb59d2 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Tue, 5 Mar 2002 20:39:05 +0000 Subject: Add video out get_property function call ---------------------------------------------------------------------- CVS patchset: 1536 CVS date: 2002/03/05 20:39:05 --- src/dxr3/dxr3_vo_core.c | 5 ++++- src/xine-engine/video_out.h | 11 ++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/dxr3/dxr3_vo_core.c b/src/dxr3/dxr3_vo_core.c index 029175424..538eed248 100644 --- a/src/dxr3/dxr3_vo_core.c +++ b/src/dxr3/dxr3_vo_core.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: dxr3_vo_core.c,v 1.15 2002/02/25 23:44:05 jcdutton Exp $ + * $Id: dxr3_vo_core.c,v 1.16 2002/03/05 20:39:05 jcdutton Exp $ * ************************************************************************* * core functions common to both Standard and RT-Encoding vo plugins * @@ -249,6 +249,9 @@ int dxr3_get_property (vo_driver_t *this_gen, int property) case VO_PROP_TVMODE: break; + case VO_PROP_VO_TYPE: + val = VO_TYPE_DXR3; + break; default: val = 0; fprintf(stderr, "dxr3_vo: property %d not implemented!\n", property); diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 4cfc7b0e4..e1571184c 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -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.h,v 1.45 2002/02/25 01:23:41 guenter Exp $ + * $Id: video_out.h,v 1.46 2002/03/05 20:39:05 jcdutton Exp $ * * * xine version of video_out.h @@ -189,8 +189,13 @@ struct vo_instance_s { #define VO_PROP_ZOOM_FACTOR 8 #define VO_PROP_PAN_SCAN 9 #define VO_PROP_TVMODE 10 -#define VO_PROP_MAX_NUM_FRAMES 11 -#define VO_NUM_PROPERTIES 12 +#define VO_PROP_MAX_NUM_FRAMES 11 +#define VO_PROP_VO_TYPE 12 +#define VO_NUM_PROPERTIES 13 + +/* Video out types */ +#define VO_TYPE_UNKNOWN 0 +#define VO_TYPE_DXR3 1 /* zoom specific constants FIXME: generate this from xine.tmpl.in */ #define VO_ZOOM_STEP 100 -- cgit v1.2.3