x264enc: Check if we have an input state before using it
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 4 Sep 2013 14:32:43 +0000 (16:32 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 4 Sep 2013 14:33:18 +0000 (16:33 +0200)
commit55037ab411218786a7625e2d8827ae253f4b4909
treedaad60a42af4e529004c6b47dafb7237adc560c3
parentae45623450e28c8c8bd5017d04605facc27298f3
x264enc: Check if we have an input state before using it

Flushing might happen before caps were set on the encoder,
which would lead to crashes here.

Thanks to Matej Knopp for analyzing this.

https://bugzilla.gnome.org/show_bug.cgi?id=707414
ext/x264/gstx264enc.c