diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-26 13:45:42 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-26 13:45:42 +0000 |
commit | ee4127687a00d8aa4e5babe8f142ad6772f48d9c (patch) | |
tree | 4841a22a1864e7f58a361b999b9eb64a7f18cb39 | |
parent | 57c9ebf594f2980f827a38d0b9e7b0f63e1c6be5 (diff) | |
download | xine-lib-ee4127687a00d8aa4e5babe8f142ad6772f48d9c.tar.gz xine-lib-ee4127687a00d8aa4e5babe8f142ad6772f48d9c.tar.bz2 |
Fix remaining dxr3 compilation errors.
-rw-r--r-- | src/dxr3/dxr3.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dxr3/dxr3.h b/src/dxr3/dxr3.h index 8a55129a0..12dedf07f 100644 --- a/src/dxr3/dxr3.h +++ b/src/dxr3/dxr3.h @@ -25,6 +25,10 @@ #include <xine/xine_internal.h> +#ifndef LOG_VID +#define LOG_VID 0 +#endif + /* data for the device name config entry */ #define CONF_KEY "dxr3.device_number" #define CONF_NAME _("DXR3 device number") @@ -44,7 +48,7 @@ static inline int dxr3_present(xine_stream_t *stream) if (stream->video_driver && stream->video_driver->node && stream->video_driver->node->plugin_class ) { - const video_driver_class_t *const vo_class = (video_driver_class_t *)node->plugin_class; + const video_driver_class_t *const vo_class = (video_driver_class_t *)stream->video_driver->node->plugin_class; if (vo_class->identifier) present = (strcmp(vo_class->identifier, DXR3_VO_ID) == 0); } |