mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
In quad mode, stop autocirculate on the other channels before starting
It might theoretically be running from single link mode from a previous run that was not cleaned up properly.
This commit is contained in:
parent
e116719597
commit
4d95164c0c
1 changed files with 6 additions and 0 deletions
|
@ -1622,6 +1622,12 @@ restart:
|
|||
ShmMutexLocker locker;
|
||||
|
||||
self->device->device->AutoCirculateStop(self->channel);
|
||||
if (self->quad_mode) {
|
||||
for (int i = 1; i < 4; i++) {
|
||||
self->device->device->AutoCirculateStop(
|
||||
(NTV2Channel)(self->channel + i));
|
||||
}
|
||||
}
|
||||
|
||||
self->device->device->EnableInputInterrupt(self->channel);
|
||||
self->device->device->SubscribeInputVerticalEvent(self->channel);
|
||||
|
|
Loading…
Reference in a new issue