From ee4127687a00d8aa4e5babe8f142ad6772f48d9c Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Wed, 26 Dec 2007 13:45:42 +0000 Subject: Fix remaining dxr3 compilation errors. --- src/dxr3/dxr3.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +#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); } -- cgit v1.2.3