- Fix cams which only support 1 resolution not working (rh470698,
gnome560032)
This commit is contained in:
parent
fdaf1a065d
commit
3e63e1c8fc
14
cheese-2.24.1-resolution-range.patch
Normal file
14
cheese-2.24.1-resolution-range.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up cheese-2.24.1/src/cheese-webcam.c~ cheese-2.24.1/src/cheese-webcam.c
|
||||||
|
--- cheese-2.24.1/src/cheese-webcam.c~ 2008-11-09 17:05:26.000000000 +0100
|
||||||
|
+++ cheese-2.24.1/src/cheese-webcam.c 2008-11-09 17:05:26.000000000 +0100
|
||||||
|
@@ -567,7 +567,9 @@ cheese_webcam_get_supported_video_format
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
@ -1,12 +1,14 @@
|
|||||||
Name: cheese
|
Name: cheese
|
||||||
Version: 2.24.1
|
Version: 2.24.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A webcam application for snapshots and movies
|
Summary: A webcam application for snapshots and movies
|
||||||
|
|
||||||
Group: Amusements/Graphics
|
Group: Amusements/Graphics
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://live.gnome.org/Cheese
|
URL: http://live.gnome.org/Cheese
|
||||||
Source0: http://download.gnome.org/sources/cheese/2.24/%{name}-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/cheese/2.24/%{name}-%{version}.tar.bz2
|
||||||
|
# Submitted upstream: http://bugzilla.gnome.org/show_bug.cgi?id=560032
|
||||||
|
Patch0: cheese-2.24.1-resolution-range.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gtk2-devel >= 2.10.0
|
BuildRequires: gtk2-devel >= 2.10.0
|
||||||
@ -42,6 +44,7 @@ gstreamer-backend.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -126,6 +129,9 @@ fi
|
|||||||
%{_datadir}/dbus-1/services/org.gnome.Cheese.service
|
%{_datadir}/dbus-1/services/org.gnome.Cheese.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 9 2008 Hans de Goede <hdegoede@redhat.com> 2.24.1-2
|
||||||
|
- Fix cams which only support 1 resolution not working (rh470698, gnome560032)
|
||||||
|
|
||||||
* Mon Oct 20 2008 Matthias Clasen <mclasen@redhat.com> 2.24.1-1
|
* Mon Oct 20 2008 Matthias Clasen <mclasen@redhat.com> 2.24.1-1
|
||||||
- Update to 2.24.1
|
- Update to 2.24.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user