summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decode_spu.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 19:03:43 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 19:03:43 +0100
commitf2524801047b6cc4d9178e45cd4799e452854ab7 (patch)
treefeaf92fdd35dcda0af0550940f3ed75f1a59ebeb /src/dxr3/dxr3_decode_spu.c
parenta6a44d3e64f6b32ce53128937c8bb894fce4644d (diff)
downloadxine-lib-f2524801047b6cc4d9178e45cd4799e452854ab7.tar.gz
xine-lib-f2524801047b6cc4d9178e45cd4799e452854ab7.tar.bz2
Move dxr3_present() in dxr3.h to avoid duplicating the function.
Diffstat (limited to 'src/dxr3/dxr3_decode_spu.c')
-rw-r--r--src/dxr3/dxr3_decode_spu.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c
index f3163e331..01dd20b05 100644
--- a/src/dxr3/dxr3_decode_spu.c
+++ b/src/dxr3/dxr3_decode_spu.c
@@ -142,20 +142,6 @@ static int dxr3_spudec_copy_nav_to_btn(dxr3_spudec_t *this, int32_t mode
static inline void dxr3_swab_clut(int* clut);
/* inline helper implementations */
-static inline int dxr3_present(xine_stream_t *stream)
-{
- int present = 0;
-
- 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)
- present = (strcmp(vo_class->identifier, DXR3_VO_ID) == 0);
- }
- llprintf(LOG_VID, "dxr3 %s\n", present ? "present" : "not present");
- return present;
-}
-
static inline void dxr3_spudec_clear_nav_list(dxr3_spudec_t *this)
{
while (this->pci_cur.next) {