decklink: Fix crash with closed-captions signal and 10-bit input
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 11 May 2018 14:39:35 +0000 (17:39 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Fri, 11 May 2018 14:39:35 +0000 (17:39 +0300)
commit31aafdbea55586edd0c40d651232ea983e256f8b
tree0e79d5ad3a98197fdd8cae136fec19ae1a093e00
parent752d2bb6e3233b535ec0cd7c13d94724418b89b7
decklink: Fix crash with closed-captions signal and 10-bit input

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