mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
vdpau: Fix compiler warnings
This commit is contained in:
parent
23b435d858
commit
2a81495bff
5 changed files with 6 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -256,7 +256,7 @@ error:
|
|||
goto done;
|
||||
}
|
||||
|
||||
GstFlowReturn
|
||||
static GstFlowReturn
|
||||
gst_vdp_mpeg_dec_push_video_buffer (GstVdpMpegDec * mpeg_dec,
|
||||
GstVdpVideoBuffer * buf)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
@ -58,4 +58,4 @@ gboolean gst_vdp_output_buffer_download (GstVdpOutputBuffer *output_buf, GstBuff
|
|||
"width = (int)[1,8192], " \
|
||||
"height = (int)[1,8192]"
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue