summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Krishnamurthy <pavan.krishnamurthy@nokia.com>2010-09-22 16:59:27 (GMT)
committerPavan Krishnamurthy <pavan.krishnamurthy@nokia.com>2010-09-22 16:59:27 (GMT)
commit7041d3a12ff7fed70fe2d296de0442525a5af5b9 (patch)
tree0bf2b0cb290a66cde6fa4eb5817929542a79e756
parent120c31fdb30a88697b709c217d47e3d3ef3c5d79 (diff)
downloadtelepathy-stream-engine-7041d3a12ff7fed70fe2d296de0442525a5af5b9.tar.gz
telepathy-stream-engine-7041d3a12ff7fed70fe2d296de0442525a5af5b9.tar.xz
Make the camera startable by changing resolution and framerate
-rw-r--r--src/tp-stream-engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tp-stream-engine.c b/src/tp-stream-engine.c
index 68bd217..fae3a49 100644
--- a/src/tp-stream-engine.c
+++ b/src/tp-stream-engine.c
@@ -628,8 +628,8 @@ update_video_src_caps (TpStreamEngine *self, TfStream *forcedstream,
if (width == G_MAXUINT || height == G_MAXUINT)
{
- width = 176;
- height = 144;
+ width = 320;
+ height = 240;
}
if (width % 2)
@@ -647,7 +647,7 @@ update_video_src_caps (TpStreamEngine *self, TfStream *forcedstream,
"width", G_TYPE_INT, width,
"height", G_TYPE_INT, height,
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('U','Y','V','Y'),
- "framerate", GST_TYPE_FRACTION, 751, 50,
+ "framerate", GST_TYPE_FRACTION, 1499, 50,
NULL);
g_debug ("Setting video size to %u x %u", width, height);