From 5b22a126fef190b48b7f06be1bc995781642ff4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sun, 26 Apr 2015 21:03:45 +0000 Subject: spandsp: Don't use the private field 'missing_samples' https://bugzilla.gnome.org/show_bug.cgi?id=748497 --- ext/spandsp/gstspanplc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/spandsp/gstspanplc.c b/ext/spandsp/gstspanplc.c index c30c0d7fe..d3ff53f89 100644 --- a/ext/spandsp/gstspanplc.c +++ b/ext/spandsp/gstspanplc.c @@ -188,8 +188,7 @@ gst_span_plc_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) GstSpanPlc *plc = GST_SPAN_PLC (parent); GstMapInfo map; - if (plc->plc_state->missing_samples != 0) - buffer = gst_buffer_make_writable (buffer); + buffer = gst_buffer_make_writable (buffer); gst_buffer_map (buffer, &map, GST_MAP_READWRITE); plc_rx (plc->plc_state, (int16_t *) map.data, map.size / 2); gst_buffer_unmap (buffer, &map); -- cgit v1.2.1