mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
line21dec: If CCs are not found at the previous line, reset and search from the beginning again
This commit is contained in:
parent
36ba1e80b6
commit
f9e4ed99b0
1 changed files with 5 additions and 0 deletions
|
@ -396,6 +396,11 @@ gst_line_21_decoder_scan (GstLine21Decoder * self, GstVideoFrame * frame)
|
|||
self->line21_offset = i;
|
||||
found = TRUE;
|
||||
break;
|
||||
} else if (i == self->line21_offset) {
|
||||
/* Otherwise if this was the previously probed line offset,
|
||||
* reset and start searching again from the beginning */
|
||||
i = -1;
|
||||
self->line21_offset = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue