[Telepathy-commits] [telepathy-stream-engine/master] Try v4l2camsrc if it exists

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 9 17:06:25 PST 2008


---
 src/tp-stream-engine.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/tp-stream-engine.c b/src/tp-stream-engine.c
index 40dab38..8f4ea21 100644
--- a/src/tp-stream-engine.c
+++ b/src/tp-stream-engine.c
@@ -927,6 +927,9 @@ _build_base_video_elements (TpStreamEngine *self)
         videosrc = gst_element_factory_make ("gconfvideosrc", NULL);
 
       if (videosrc == NULL)
+        videosrc = gst_element_factory_make ("v4l2camsrc", NULL);
+
+      if (videosrc == NULL)
         videosrc = gst_element_factory_make ("v4l2src", NULL);
 
       if (videosrc == NULL)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list