diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2007-10-08 17:46:45 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2007-10-08 17:46:45 +0000 |
commit | 1fe4050c0a299016b82bfdb70dd46d414a53a082 (patch) | |
tree | add3d2b8eac11170e06f70ef172f9f6bb066bf29 /gst/real/gstrealvideodec.h | |
parent | 4865b3bf146fe7392aed1a9e2df2efcb63d19ead (diff) | |
download | gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.tar.gz gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.tar.bz2 gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.zip |
gst/: Fix compiler warnings shown by Forte.
Original commit message from CVS:
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer):
* gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain):
* gst/nsf/nes6502.c: (nes6502_execute):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
* gst/real/gstrealvideodec.c: (open_library):
* gst/real/gstrealvideodec.h:
* gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink):
Fix compiler warnings shown by Forte.
Diffstat (limited to 'gst/real/gstrealvideodec.h')
-rw-r--r-- | gst/real/gstrealvideodec.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gst/real/gstrealvideodec.h b/gst/real/gstrealvideodec.h index 148bd8ae..d3ac5391 100644 --- a/gst/real/gstrealvideodec.h +++ b/gst/real/gstrealvideodec.h @@ -35,6 +35,11 @@ typedef struct _GstRealVideoDec GstRealVideoDec; typedef struct _GstRealVideoDecClass GstRealVideoDecClass; typedef enum _GstRealVideoDecVersion GstRealVideoDecVersion; +typedef guint32 (*GstRealVideoDecMessageFunc) (gpointer, gpointer); +typedef guint32 (*GstRealVideoDecFreeFunc) (gpointer); +typedef guint32 (*GstRealVideoDecInitFunc) (gpointer, gpointer); +typedef guint32 (*GstRealVideoDecTransformFunc) (gchar *, gchar *, gpointer, gpointer, gpointer); + enum _GstRealVideoDecVersion { GST_REAL_VIDEO_DEC_VERSION_2 = 2, @@ -45,10 +50,10 @@ enum _GstRealVideoDecVersion typedef struct { GModule *module; - guint32 (*custom_message) (gpointer, gpointer); - guint32 (*free) (gpointer); - guint32 (*init) (gpointer, gpointer); - guint32 (*transform) (gchar *, gchar *, gpointer, gpointer, gpointer); + GstRealVideoDecMessageFunc custom_message; + GstRealVideoDecFreeFunc free; + GstRealVideoDecInitFunc init; + GstRealVideoDecTransformFunc transform; gpointer context; } GstRealVideoDecHooks; |