cc708overlay: fix deadlock

We would forget to unlock when a caption data buffer is deemed
out of segment, which makes everything lock up next time buffers
are received.
This commit is contained in:
Tim-Philipp Müller 2018-11-29 11:24:39 +00:00
parent 1f562870ee
commit 4f935e1e7f

View file

@ -1713,6 +1713,8 @@ gst_cea_cc_overlay_cc_chain (GstPad * pad, GstObject * parent,
overlay->decoder->current_time = GST_BUFFER_PTS (buffer);
}
gst_buffer_unmap (buffer, &buf_map);
} else {
GST_CEA_CC_OVERLAY_UNLOCK (overlay);
}
beach: