update for adapter api changes
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 10 Nov 2011 17:32:39 +0000 (18:32 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 11 Sep 2012 00:54:36 +0000 (01:54 +0100)
gst/gdp/gstgdpdepay.c

index b608977..d5cc81d 100644 (file)
@@ -286,7 +286,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer)
           data = gst_adapter_map (this->adapter, this->payload_length);
           res = gst_dp_validate_payload (GST_DP_HEADER_LENGTH, this->header,
               data);
-          gst_adapter_unmap (this->adapter, 0);
+          gst_adapter_unmap (this->adapter);
 
           if (!res)
             goto payload_validate_error;