h264enc: Fix profile and level settings.
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Mon, 13 Jun 2011 00:26:29 +0000 (02:26 +0200)
committerDaniel Diaz <ddiaz@ti.com>
Thu, 23 Jun 2011 21:19:25 +0000 (16:19 -0500)
commit29729f1ca7aab31091d040ae95763c0543e4677d
tree907a5e4b678579243786dbaabff56bee2b69850f
parent977bd9f6616c13ca583bda22e45ed8fa0cda832c
h264enc: Fix profile and level settings.

Make it so that profile and level settings are 1) set by default
(G_PARAM_CONSTRUCT) 2) preserved across state changes and 3) don't
cause segfaults if they are changed too early.

Makes omx_camera ! omx_h264enc **notice you don't need to set random
properties here anymore** ! fakesink work. Goto beach.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
omx/gstomx_h264enc.c
omx/gstomx_h264enc.h