cheese-camera-device: fix crash in adding formats
authorLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Mon, 1 Aug 2011 14:59:29 +0000 (11:59 -0300)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Mon, 1 Aug 2011 14:59:29 +0000 (11:59 -0300)
commit5f74c180c2bf5a67caab9def2cb8b08f6117adeb
treeefbd869392d5494e375cd4a0ffb690cbe3233e2f
parent3e188a8fb8d41694d34daf2f35dc7dbbb947bdd7
cheese-camera-device: fix crash in adding formats

CheeseVideoFormat was being treated like an object. It is now copied
using cheese_video_fomat_copy to avoid crashes.
libcheese/cheese-camera-device.c