vdpau: Fix compiler warnings

This commit is contained in:
Sebastian Dröge 2010-03-22 08:45:27 +01:00
parent 23b435d858
commit 2a81495bff
5 changed files with 6 additions and 8 deletions

View file

@ -239,7 +239,7 @@ gst_vdp_device_class_init (GstVdpDeviceClass * klass)
"", G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}
GstVdpDevice *
static GstVdpDevice *
gst_vdp_device_new (const gchar * display_name)
{
GstVdpDevice *device;

View file

@ -256,7 +256,7 @@ error:
goto done;
}
GstFlowReturn
static GstFlowReturn
gst_vdp_mpeg_dec_push_video_buffer (GstVdpMpegDec * mpeg_dec,
GstVdpVideoBuffer * buf)
{

View file

@ -178,7 +178,7 @@ GstVdpOutputBufferFormats rgba_formats[] = {
GstCaps *
gst_vdp_output_buffer_get_template_caps ()
gst_vdp_output_buffer_get_template_caps (void)
{
GstCaps *caps, *rgb_caps;
gint i;

View file

@ -45,7 +45,7 @@ GType gst_vdp_output_buffer_get_type (void);
GstVdpOutputBuffer* gst_vdp_output_buffer_new (GstVdpDevice * device, VdpRGBAFormat rgba_format, gint width, gint height);
GstCaps *gst_vdp_output_buffer_get_template_caps ();
GstCaps *gst_vdp_output_buffer_get_template_caps (void);
GstCaps *gst_vdp_output_buffer_get_allowed_caps (GstVdpDevice *device);
gboolean gst_vdp_caps_to_rgba_format (GstCaps *caps, VdpRGBAFormat *rgba_format);

View file

@ -45,9 +45,7 @@ GstFlowReturn gst_vdp_output_src_pad_get_device (GstVdpOutputSrcPad *vdp_pad, Gs
gboolean gst_vdp_output_src_pad_set_caps (GstVdpOutputSrcPad *vdp_pad, GstCaps *caps);
GstCaps *gst_vdp_output_src_pad_get_template_caps ();
GstVdpOutputSrcPad *gst_vdp_output_src_pad_new ();
GstVdpOutputSrcPad *gst_vdp_output_src_pad_new (GstCaps * templ_caps);
GType gst_vdp_output_src_pad_get_type (void) G_GNUC_CONST;
G_END_DECLS