From e792718ddf7f8c879ba38c4801b52b74a6b80766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 6 May 2007 15:25:05 +0000 Subject: gst/real/: Use GModule instead of using dlsym() directly. Fixes #430598. Original commit message from CVS: * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps), (gst_real_audio_dec_finalize): * gst/real/gstrealaudiodec.h: * gst/real/gstrealvideodec.c: (open_library), (close_library): * gst/real/gstrealvideodec.h: Use GModule instead of using dlsym() directly. Fixes #430598. --- gst/real/gstrealvideodec.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gst/real/gstrealvideodec.h') diff --git a/gst/real/gstrealvideodec.h b/gst/real/gstrealvideodec.h index e7fbbd93..471e29c4 100644 --- a/gst/real/gstrealvideodec.h +++ b/gst/real/gstrealvideodec.h @@ -1,7 +1,7 @@ /* GStreamer * * Copyright (C) 2006 Lutz Mueller - * 2006 Edward Hervey + * Copyright (C) 2006 Edward Hervey * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -43,7 +43,7 @@ enum _GstRealVideoDecVersion }; typedef struct { - gpointer handle; + GModule *module; guint32 (*custom_message) (gpointer, gpointer); guint32 (*free) (gpointer); @@ -91,4 +91,7 @@ struct _GstRealVideoDecClass GType gst_real_video_dec_get_type (void); G_END_DECLS + #endif /* __GST_REAL_VIDEO_DEC_H__ */ + + -- cgit v1.2.1