projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ba1e8
)
line21dec: If CCs are not found at the previous line, reset and search from the begin...
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 10 Dec 2018 13:43:19 +0000
(15:43 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Sat, 15 Dec 2018 21:31:28 +0000
(21:31 +0000)
ext/closedcaption/gstline21dec.c
patch
|
blob
|
history
diff --git
a/ext/closedcaption/gstline21dec.c
b/ext/closedcaption/gstline21dec.c
index
d5ffbe2
..
03bf94c
100644
(file)
--- a/
ext/closedcaption/gstline21dec.c
+++ b/
ext/closedcaption/gstline21dec.c
@@
-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;
}
}