cheese r1129 - in trunk: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r1129 - in trunk: . src
- Date: Sun, 9 Nov 2008 18:39:15 +0000 (UTC)
Author: dgsiegel
Date: Sun Nov 9 18:39:15 2008
New Revision: 1129
URL: http://svn.gnome.org/viewvc/cheese?rev=1129&view=rev
Log:
cheese now works for cams which support only one resolution, fixes bug #560032, courtesy of Hans de Goede
Modified:
trunk/ChangeLog
trunk/src/cheese-webcam.c
Modified: trunk/src/cheese-webcam.c
==============================================================================
--- trunk/src/cheese-webcam.c (original)
+++ trunk/src/cheese-webcam.c Sun Nov 9 18:39:15 2008
@@ -562,7 +562,9 @@
cur_width = min_width;
cur_height = min_height;
- while (cur_width < max_width && cur_height < max_height)
+ /* Gstreamer will sometimes give us a range with min_xxx == max_xxx,
+ we use <= here (and not below) to make this work */
+ while (cur_width <= max_width && cur_height <= max_height)
{
CheeseVideoFormat video_format;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]