From 0aa4d01c0ff5c8e687d99320c7bd1e498f0d1a15 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Mon, 28 Jun 2010 11:19:27 +0200 Subject: [PATCH] vdpauvideopostprocess: fix resizing of output --- sys/vdpau/gstvdp/gstvdpoutputsrcpad.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/vdpau/gstvdp/gstvdpoutputsrcpad.c b/sys/vdpau/gstvdp/gstvdpoutputsrcpad.c index 7f39f8343b..bd67ba8c35 100644 --- a/sys/vdpau/gstvdp/gstvdpoutputsrcpad.c +++ b/sys/vdpau/gstvdp/gstvdpoutputsrcpad.c @@ -232,20 +232,11 @@ gst_vdp_output_src_pad_alloc_with_caps (GstVdpOutputSrcPad * vdp_pad, if (ret != GST_FLOW_OK) return ret; - if (!gst_caps_is_equal_fixed (caps, GST_BUFFER_CAPS (*output_buf))) - goto wrong_caps; - if (!GST_IS_VDP_OUTPUT_BUFFER (*output_buf)) goto invalid_buf; return GST_FLOW_OK; -wrong_caps: - gst_buffer_unref (GST_BUFFER (*output_buf)); - g_set_error (error, GST_STREAM_ERROR, GST_STREAM_ERROR_FAILED, - "Sink element returned buffer with wrong caps"); - return GST_FLOW_ERROR; - invalid_buf: gst_buffer_unref (GST_BUFFER (*output_buf)); g_set_error (error, GST_STREAM_ERROR, GST_STREAM_ERROR_FAILED,