mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
spandsp: Don't use the private field 'missing_samples'
https://bugzilla.gnome.org/show_bug.cgi?id=748497
This commit is contained in:
parent
d45a1253b1
commit
5b22a126fe
1 changed files with 1 additions and 2 deletions
|
@ -188,8 +188,7 @@ gst_span_plc_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
GstSpanPlc *plc = GST_SPAN_PLC (parent);
|
GstSpanPlc *plc = GST_SPAN_PLC (parent);
|
||||||
GstMapInfo map;
|
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);
|
gst_buffer_map (buffer, &map, GST_MAP_READWRITE);
|
||||||
plc_rx (plc->plc_state, (int16_t *) map.data, map.size / 2);
|
plc_rx (plc->plc_state, (int16_t *) map.data, map.size / 2);
|
||||||
gst_buffer_unmap (buffer, &map);
|
gst_buffer_unmap (buffer, &map);
|
||||||
|
|
Loading…
Reference in a new issue