mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +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));
|
"", G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
|
||||||
}
|
}
|
||||||
|
|
||||||
GstVdpDevice *
|
static GstVdpDevice *
|
||||||
gst_vdp_device_new (const gchar * display_name)
|
gst_vdp_device_new (const gchar * display_name)
|
||||||
{
|
{
|
||||||
GstVdpDevice *device;
|
GstVdpDevice *device;
|
||||||
|
|
|
@ -256,7 +256,7 @@ error:
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_vdp_mpeg_dec_push_video_buffer (GstVdpMpegDec * mpeg_dec,
|
gst_vdp_mpeg_dec_push_video_buffer (GstVdpMpegDec * mpeg_dec,
|
||||||
GstVdpVideoBuffer * buf)
|
GstVdpVideoBuffer * buf)
|
||||||
{
|
{
|
||||||
|
|
|
@ -178,7 +178,7 @@ GstVdpOutputBufferFormats rgba_formats[] = {
|
||||||
|
|
||||||
|
|
||||||
GstCaps *
|
GstCaps *
|
||||||
gst_vdp_output_buffer_get_template_caps ()
|
gst_vdp_output_buffer_get_template_caps (void)
|
||||||
{
|
{
|
||||||
GstCaps *caps, *rgb_caps;
|
GstCaps *caps, *rgb_caps;
|
||||||
gint i;
|
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);
|
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);
|
GstCaps *gst_vdp_output_buffer_get_allowed_caps (GstVdpDevice *device);
|
||||||
gboolean gst_vdp_caps_to_rgba_format (GstCaps *caps, VdpRGBAFormat *rgba_format);
|
gboolean gst_vdp_caps_to_rgba_format (GstCaps *caps, VdpRGBAFormat *rgba_format);
|
||||||
|
|
||||||
|
|
|
@ -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);
|
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 (GstCaps * templ_caps);
|
||||||
|
|
||||||
GstVdpOutputSrcPad *gst_vdp_output_src_pad_new ();
|
|
||||||
GType gst_vdp_output_src_pad_get_type (void) G_GNUC_CONST;
|
GType gst_vdp_output_src_pad_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
Loading…
Reference in a new issue