summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-17cheese-window: Disable effect switching buttons on webcam errorHEADmasterHans de Goede1-2/+6
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese-preferences: Cleanly handle going from 1 -> 0 devicesHans de Goede1-11/+15
Cleanly handle going from 1 -> 0 devices and going from 1 -> 0 -> 1 devices. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese-preferences: Simplify remove_camera_deviceHans de Goede1-13/+6
Now that we cache the device-node for the active camera, remove_camera_device and its callers can be simplified. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17on_camera_update_num_camera_devices: Remove unnecessary camera_changed() callHans de Goede1-2/+0
If the camera is actually changed then camera_changed already gets called from either camera_play() or on_source_change(). Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese: Avoid unnecessary calls to switch_camera_device()Hans de Goede1-2/+10
And thus avoid stopping and restarting the stream for no reason. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese: Properly deal with going from 0 -> 1 devicesHans de Goede2-3/+26
Before this patch cheese showed a "No device found" message when started without any devices connected, and would keep showing this after the user plugged in a webcam. The new cam also could not be selected from the preferences dialog. After this patch cheese will automatically switch to showing video from a newly plugged in webcam (when it had no devices before). Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese: Move camera_setup to cheese-preferencesHans de Goede3-19/+27
cheese-preferences already keeps track of which cameras there are and is in control of selecting camera resolution and the source-device. This patch also makes it control of start / stop, thereby logical grouping all camera-control code in a single place. Having all camera control code in a single place makes dealing with various hotplug issues a lot easier. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese_camera_get_camera_devices: Allow calling before cheese_camera_setup()Hans de Goede1-4/+5
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese-preferences: Add camera_changed () methodHans de Goede1-9/+25
This centralizes camera-change handling, and adds a check for their being no camera removing a whole bunch of glib Critical messages being printed when cheese is started without a camera. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese-window: Add cancel_running_action () methodHans de Goede1-16/+31
And use it to stop recording / the photo countdown when we get an error while either one is active. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17cheese-window: Allow changing effects while shooting / recording a videoHans de Goede2-26/+3
There is no technical reason to disable the effect selector while shooting a video. Likewise there is no technical reason to disallow start / stop recording / shooting, or changing mode when the effect selector is change. Removing these unnecessary limitations simplifies the code, and allows users to change effects while recording a video. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-17Post-release version bump to 3.10.0David King1-1/+1
2013-09-17Update NEWS for 3.9.92 releaseDavid King2-2/+62
2013-09-17Close the preferences if the action is disabledDavid King2-0/+23
When shooting, the preferences action is disabled. If the preferences dialog is shown, the resolution and capture device can still be changed, so hide the dialog when the preferences action is disabled.
2013-09-16Disable the preferences action while shootingDavid King1-0/+4
Changing the resolution or camera device while recording can lead to a crash, so avoid the problem by disabling the preferences action whenever the mode change actions are disabled. Fixes bug 670782.
2013-09-16Fix video recording with GStreamer >= 1.1.4Hans de Goede1-3/+11
GStreamer >= 1.1.4 requires fully specifying the video-capture-source caps, otherwise Cheese prints this: (cheese:22606): cheese-WARNING **: Filter caps do not completely specify the output format: gstcapsfilter.c(348): gst_capsfilter_prepare_buf (): /GstCameraBin:camerabin/GstCapsFilter:videobin-capsfilter: Output caps are unfixed: video/x-raw, framerate=(fraction)30/1, width=(int)640, height=(int)480, format=(string){ YUY2, YV12, BGR, RGB, I420 }, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive and video-recording is broken. Fixes bug 707391. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-15Update French translationAlexandre Franke1-165/+167
2013-09-15Updated Danish translationAsk H. Larsen1-170/+167
2013-09-14Finnish translation update by Jiri GrönroosVille-Pekka Vainio1-166/+204
2013-09-14Updated Korean translationChangwoo Ryu1-157/+134
2013-09-12Assamese Translation UpdatedNilamdyuti Goswami1-164/+175
2013-09-11Updated Latvian translationRūdolfs Mazurs1-164/+204
2013-09-09Updated Russian translationYuri Myasoedov1-198/+160
2013-09-09Skip loading effects with missing pluginsDavid King1-3/+12
If effects modules are missing, do not load them into EffectsManager to skip showing them in the UI. Fixes bug 702995.
2013-09-08Updated Indonesian translationAndika Triwidada1-173/+149
2013-09-07[l10n] Updated Italian translation.Milo Casagrande1-19/+20
2013-09-06Updated Serbian translationМирослав Николић2-310/+268
2013-09-03Updated Irish translationSeán de Búrca1-466/+678
2013-09-03Fix categories in .desktop file, bug 707373Elad Alfassa1-1/+1
gnome-software uses the desktop file categories to sort the applications it shows. This commit fixes the categories according to the freedesktop spec, so that Cheese will appear in the correct category. For more information: http://standards.freedesktop.org/menu-spec/latest/apa.html http://standards.freedesktop.org/menu-spec/latest/apas02.html
2013-09-03Drop wrong license lines from Galician translations for docsFran Diéguez1-3/+0
2013-09-03Added galician translations for docsFran Diéguez2-1/+947
2013-09-02Post-release version bump to 3.9.92David King1-1/+1
2013-09-02Update NEWS for 3.9.91 releaseDavid King2-3/+56
2013-09-02Do not override errors in camera_state_change_nullHans de Goede1-1/+4
If a more detailed error has already been set (through a GError return from libcheese), do not override it when changing state to null. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Fix memory leak when freeing video formatsHans de Goede1-3/+2
Free the GList, as well as the video formats in the list. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Improve cheese_camera_device_get_best_format()Hans de Goede1-7/+27
If a camera device which can do 1600x900 at 10 FPS and 1280x800 @ 25 FPS, then 1600x900 is not really the best format, as 10 FPS leads to a bad user experience. Improve the situation by constraining cheese_camera_device_get_best_format() to return the format with the highest resolution with a width greater than 640 pixels and a framerate of greater the 15 FPS. If no mode matching the widh >= 640 && frame_rate >= 15 criteria is found, get_best_format will behave as before as simply return the highest resolution mode. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Limit caps to the maximum framerateHans de Goede1-13/+37
Limit the caps returned by cheese_camera_device_get_caps_for_format() to the maximum framerate supported at the requested resolution. This is necessary because GStreamer first selects a format and then a framerate, resulting in it picking for 1280x720 as an example, YUYV @ 15 FPS, instead of MJPEG @ 30 FPS (which will be converted to i420 by the videoconvert element in camerabin2), or at 1600x1200 YUYV @ 5 fps instead of MJPEG @ 10 fps. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Add cheese_camera_device_find_full_format() helperHans de Goede1-11/+35
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Keep track of highest available camera frameratesHans de Goede1-20/+155
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-09-02Updated Spanish translationDaniel Mustieles1-195/+263
2013-09-02Updated Belarusian translation.Ihar Hrachyshka1-158/+133
2013-08-27Updated Lithuanian translationAurimas Černius1-151/+104
2013-08-25[l10n] Updated Italian translation.Milo Casagrande1-163/+141
2013-08-22Add git repository information to DOAP fileDavid King1-0/+6
2013-08-21Updated Hungarian translationBalázs Úr1-142/+133
2013-08-21Updated Indonesian help translation, now with proper licenseAndika Triwidada2-1/+855
2013-08-21Add hu to DOC_LINGUASGabor Kelemen1-1/+1
2013-08-21Re-add Hungarian help translation with correct licenceGabor Kelemen1-0/+1014
2013-08-20Updated Polish translationPiotr Drąg1-3/+3
2013-08-20Updated Polish translationPiotr Drąg1-162/+138