camerabin2: Keep mode definition at -enum file
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 29 Nov 2010 14:31:26 +0000 (11:31 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 8 Dec 2010 18:38:27 +0000 (15:38 -0300)
commit6c7d7946f53aed028d66cf48e81edd39b2a433e6
tree30d69d600a11d1a0b576e364b515d1fe8a38e486
parent9095ee429a28c7f6c3033d0b0f353ca16d12130d
camerabin2: Keep mode definition at -enum file

Use 'mode' enum definition from gstcamerabin-enum file to avoid
conflicts between v4l2camerasrc and gstcamerabin2 modes.

For now there is a MODE_PREVIEW there that is only used on the
camerasrc, not sure if we are keeping it at the future, but for
now this works.
gst/camerabin2/gstcamerabin-enum.c
gst/camerabin2/gstcamerabin2.c