forked from Ivasoft/DSView
update: The acquisition stops halfway and the decoding continues
This commit is contained in:
@@ -1229,8 +1229,9 @@ SRD_PRIV int srd_inst_decode(struct srd_decoder_inst *di,
|
||||
if (!di->thread_handle) {
|
||||
srd_dbg("No worker thread for this decoder stack "
|
||||
"exists yet, creating one: %s.", di->inst_id);
|
||||
|
||||
di->thread_handle = g_thread_new(di->inst_id,
|
||||
di_thread, di);
|
||||
di_thread, di);
|
||||
}
|
||||
|
||||
/* Push the new sample chunk to the worker thread. */
|
||||
|
||||
@@ -349,7 +349,7 @@ struct srd_proto_data {
|
||||
uint64_t start_sample;
|
||||
uint64_t end_sample;
|
||||
struct srd_pd_output *pdo;
|
||||
void *data;
|
||||
void *data;
|
||||
};
|
||||
struct srd_proto_data_annotation {
|
||||
int ann_class;
|
||||
|
||||
@@ -463,7 +463,7 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
|
||||
uint64_t start_sample, end_sample;
|
||||
int output_id;
|
||||
struct srd_pd_callback *cb;
|
||||
PyGILState_STATE gstate;
|
||||
PyGILState_STATE gstate;
|
||||
|
||||
py_data = NULL; //the fourth param from python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user