vp8enc: initiate encoder to fix a crash.
authorOleksij Rempel <bug-track@fisher-privat.net>
Thu, 26 Jul 2012 17:31:14 +0000 (19:31 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 5 Aug 2012 18:35:32 +0000 (19:35 +0100)
commit94337d05a503aafc403fdaecff2192e11249c94f
tree9bd38c5c4e48a5ea2ab7f1c023a440c900263acf
parentf10875fc72d3ed7747b0a40a883bd2eb3de417e5
vp8enc: initiate encoder to fix a crash.

Without this patch vp8enc send header before and after first
key frame. On second keyframe vp8dec will crash without getting
decoded frame. With this pipe it is easy to reproduce this issue:
gst-launch-1.0 videotestsrc ! vp8enc ! vp8dec ! fakesink

https://bugzilla.gnome.org/show_bug.cgi?id=680667
ext/vp8/gstvp8enc.c