1. 21 Sep, 2020 2 commits
    • Jakub Adam's avatar
      Preserve video/x-raw over image/jpeg · 1c1e7fa0
      Jakub Adam authored
      gst_caps_simplify() doesn't preserve the original order of caps, so when
      called on the full set of caps, collected from all supported_formats, it
      may end up preferring image/jpeg caps even when video/x-raw with
      identical resolution and framerate is available.
      
      Simplify the caps coming from each of supported_formats separately, so
      that video/x-raw always comes first in the result GstCaps.
      
      We prefer raw camera output whenever possible in order to avoid decoding
      MJPEG.
      1c1e7fa0
    • Jakub Adam's avatar
      Support camera video formats with MJPEG output · 58de82b3
      Jakub Adam authored
      This enables higher resolutions and framerates with cameras like
      Logitech C910, which can do e.g. 1920x1080 @ 30fps, but only through
      image/jpeg output.
      
      !17
      #28
      58de82b3
  2. 18 Sep, 2020 3 commits
    • Bastien Nocera's avatar
      d2e32b97
    • Bastien Nocera's avatar
      Fix infinite loop if thumbnailer is not available · e7046d56
      Bastien Nocera authored
      The code in cheese_thumb_view_idle_append_item() in
      src/thumbview/cheese-thumb-view.c didn't pop the list of items to
      thumbnail if thumbnailing failed.
      
       #0  0x00007f4a60e55314 in open64 () at /lib64/libc.so.6
       #1  0x00007f4a60de6386 in _IO_file_open () at /lib64/libc.so.6
       #2  0x00007f4a60de655a in __GI__IO_file_fopen () at /lib64/libc.so.6
       #3  0x00007f4a60dd9aad in __fopen_internal () at /lib64/libc.so.6
       #4  0x00007f4a6157a43f in gdk_pixbuf_new_from_file () at /lib64/libgdk_pixbuf-2.0.so.0
       #5  0x00007f4a61e84b3a in gnome_desktop_thumbnail_factory_lookup () at /lib64/libgnome-desktop-3.so.19
       #6  0x000055cef476046f in cheese_thumb_view_idle_append_item ()
       #7  0x00007f4a6124f47b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
       #8  0x00007f4a612537af in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
       #9  0x00007f4a61253b38 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
       #10 0x00007f4a61253c03 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
       #11 0x00007f4a6146a7ca in g_application_run () at /lib64/libgio-2.0.so.0
       #12 0x000055cef4758547 in _vala_main ()
       #13 0x00007f4a60d8a042 in __libc_start_main () at /lib64/libc.so.6
       #14 0x000055cef47554be in _start ()
      
       #0  0x00007f4a60ec562d in __strlen_avx2 () at /lib64/libc.so.6
       #1  0x00007f4a61275de8 in g_str_has_suffix () at /lib64/libglib-2.0.so.0
       #2  0x00007f4a618c0072 in icon_name_is_symbolic () at /lib64/libgtk-3.so.0
       #3  0x00007f4a618c00b1 in theme_dir_get_icon_suffix () at /lib64/libgtk-3.so.0
       #4  0x00007f4a618c32ed in theme_lookup_icon () at /lib64/libgtk-3.so.0
       #5  0x00007f4a618c3adf in real_choose_icon () at /lib64/libgtk-3.so.0
       #6  0x00007f4a618c4762 in gtk_icon_theme_lookup_icon_for_scale () at /lib64/libgtk-3.so.0
       #7  0x00007f4a618c5105 in gtk_icon_theme_load_icon_for_scale () at /lib64/libgtk-3.so.0
       #8  0x000055cef47605c9 in cheese_thumb_view_idle_append_item ()
       #9  0x00007f4a6124f47b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
       #10 0x00007f4a612537af in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
       #11 0x00007f4a61253b38 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
       #12 0x00007f4a61253c03 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
       #13 0x00007f4a6146a7d8 in g_application_run () at /lib64/libgio-2.0.so.0
       #14 0x000055cef4758547 in _vala_main ()
       #15 0x00007f4a60d8a042 in __libc_start_main () at /lib64/libc.so.6
       #16 0x000055cef47554be in _start ()
      
      Closes: #81
      e7046d56
    • Bastien Nocera's avatar
      ci: Add CI · 80e49591
      Bastien Nocera authored
      80e49591
  3. 17 Sep, 2020 1 commit
  4. 15 Sep, 2020 1 commit
  5. 12 Sep, 2020 2 commits
  6. 09 Sep, 2020 1 commit
  7. 06 Sep, 2020 3 commits
  8. 05 Sep, 2020 1 commit
  9. 04 Sep, 2020 1 commit
  10. 03 Sep, 2020 1 commit
  11. 02 Sep, 2020 1 commit
  12. 01 Sep, 2020 1 commit
  13. 30 Aug, 2020 1 commit
  14. 28 Aug, 2020 1 commit
  15. 26 Aug, 2020 1 commit
  16. 25 Aug, 2020 1 commit
  17. 23 Aug, 2020 1 commit
  18. 22 Aug, 2020 1 commit
  19. 19 Aug, 2020 1 commit
  20. 18 Aug, 2020 1 commit
  21. 17 Aug, 2020 1 commit
  22. 16 Aug, 2020 3 commits
  23. 10 Aug, 2020 2 commits
  24. 09 Aug, 2020 1 commit
  25. 28 Jul, 2020 1 commit
  26. 13 Jul, 2020 1 commit
    • Wim Taymans's avatar
      cheese: improve format parsing · 52c9e999
      Wim Taymans authored
      Check if both width and height are of the expected value type.
      
      Check if width and height are > 0 before adding the format as a
      valid format. Adding 0x0 resolutions causes a divide by 0 later
      when we calculate aspect ratios.
      52c9e999
  27. 10 Jul, 2020 3 commits
  28. 09 Jul, 2020 1 commit
  29. 03 Jul, 2020 1 commit