mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 09:40:08 +00:00
fixed CID 40892{2,3,5}
This commit is contained in:
@@ -277,6 +277,7 @@ static void * audio_cap_testcard_init(struct module *parent, const char *cfg)
|
||||
s->chunk_size = atoi(item + strlen("frames="));
|
||||
} else if (strncasecmp(item, "frequency=", strlen("frequency=")) == 0) {
|
||||
frequency = atoi(item + strlen("frequency="));
|
||||
assert(frequency != 0);
|
||||
} else if(strstr(item, "crescendo") == item) {
|
||||
pattern = CRESCENDO;
|
||||
char *val = strchr(item, '=');
|
||||
|
||||
@@ -109,7 +109,7 @@ class col
|
||||
{
|
||||
public:
|
||||
template<class T>
|
||||
col &operator<< (T val) {
|
||||
col &operator<< (const T& val) {
|
||||
oss << val;
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -1099,6 +1099,7 @@ vidcap_import_grab(void *state, struct audio_frame **audio)
|
||||
}
|
||||
|
||||
if(s->queue_len == 0) {
|
||||
pthread_mutex_unlock(&s->lock);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user