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:
752d2bb
)
decklink: Fix crash with closed-captions signal and 10-bit input
author
Vivia Nikolaidou
<vivia@ahiru.eu>
Fri, 11 May 2018 14:39:35 +0000
(17:39 +0300)
committer
Vivia Nikolaidou
<vivia@ahiru.eu>
Fri, 11 May 2018 14:39:35 +0000
(17:39 +0300)
Only free the parser if there is one. If the format hadn't changed but
had always been 10-bit, there might genuinely be no parser.
https://bugzilla.gnome.org/show_bug.cgi?id=796030
sys/decklink/gstdecklinkvideosrc.cpp
patch
|
blob
|
history
diff --git
a/sys/decklink/gstdecklinkvideosrc.cpp
b/sys/decklink/gstdecklinkvideosrc.cpp
index
cf4e886
..
d2c784d
100644
(file)
--- a/
sys/decklink/gstdecklinkvideosrc.cpp
+++ b/
sys/decklink/gstdecklinkvideosrc.cpp
@@
-800,7
+800,7
@@
extract_cc_from_vbi (GstDecklinkVideoSrc * self, GstBuffer ** buffer,
return;
}
- if (videoformat != self->anc_vformat) {
+ if (videoformat != self->anc_vformat
&& self->vbiparser
) {
gst_video_vbi_parser_free (self->vbiparser);
self->vbiparser = NULL;
}