diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-03-17 20:59:08 +0100 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-05-01 14:46:11 +0200 |
commit | c4f60760edd70b9cd502f6ceca1d076a4e81b36c (patch) | |
tree | 019fc3b3fbde7fb01274fdf9fa918960c6c571ab /sys/vdpau/gstvdpoutputbuffer.h | |
parent | ff7381109ff9f99f714d2b333dcaf906f58fa12c (diff) | |
download | gstreamer-plugins-bad-c4f60760edd70b9cd502f6ceca1d076a4e81b36c.tar.gz |
vdpau: add better error handling to GstVdpOutputSrcPad
gst_vdp_output_src_pad_push, gst_vdp_output_src_pad_alloc_buffer and
gst_vdp_output_src_pad_get_device now take a GError parameter to be able to
signal errors to the caller
Diffstat (limited to 'sys/vdpau/gstvdpoutputbuffer.h')
-rw-r--r-- | sys/vdpau/gstvdpoutputbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdpoutputbuffer.h b/sys/vdpau/gstvdpoutputbuffer.h index f67ba660d..be6a30e3c 100644 --- a/sys/vdpau/gstvdpoutputbuffer.h +++ b/sys/vdpau/gstvdpoutputbuffer.h @@ -50,7 +50,7 @@ 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_output_buffer_calculate_size (GstVdpOutputBuffer *output_buf, guint *size); -gboolean gst_vdp_output_buffer_download (GstVdpOutputBuffer *output_buf, GstBuffer *outbuf); +gboolean gst_vdp_output_buffer_download (GstVdpOutputBuffer *output_buf, GstBuffer *outbuf, GError **error); #define GST_VDP_OUTPUT_CAPS \ "video/x-vdpau-output, " \ |