summaryrefslogtreecommitdiff
path: root/src/dxr3
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxr3')
-rw-r--r--src/dxr3/dxr3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dxr3/dxr3.h b/src/dxr3/dxr3.h
index 8a55129a0..4ded9cd4c 100644
--- a/src/dxr3/dxr3.h
+++ b/src/dxr3/dxr3.h
@@ -45,8 +45,10 @@ 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;
- if (vo_class->identifier)
+ if (vo_class->identifier) {
present = (strcmp(vo_class->identifier, DXR3_VO_ID) == 0);
+ if ( present ) break;
+ }
}
llprintf(LOG_VID, "dxr3 %s\n", present ? "present" : "not present");
return present;