Skip to content
Snippets Groups Projects
  1. Feb 16, 2022
  2. Feb 15, 2022
    • Alexandre Janniaux's avatar
      lib: media_player: fix doxygen · 7b8d3fc0
      Alexandre Janniaux authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      Doxygen for libvlc_video_output_cfg_t and libvlc_video_render_cfg_t
      were not correct and led to the documentation of one field being
      assigned to the field after it.
      
      In the future, the fields might need more precision regarding the
      possible ranges or kind of values they can convey, so use a top
      comment instead of a sibling one, which can more easily integrate
      a brief and a longer explanation.
      7b8d3fc0
  3. Feb 14, 2022
  4. Feb 13, 2022
  5. Feb 12, 2022
  6. Feb 11, 2022
    • Alexandre Janniaux's avatar
      caca: update contrib to 0.99.beta20 · 2d597455
      Alexandre Janniaux authored and Rémi Denis-Courmont's avatar Rémi Denis-Courmont committed
      The new contrib fixes a bunch of reported CVE:
      
          CVE-2021-30498  (tga export, not concerned)
          CVE-2021-30499  (troff export, not concerned)
          CVE-2021-3410   (canvas.c, v0.99.beta19)
          CVE-2018-20546  (dither.c, v0.99.beta19)
          CVE-2018-20547  (dither.c, v0.99.beta19)
          CVE-2018-20545  (load_image, v0.99.beta19)
          CVE-2018-20548  (load_image, v0.99.beta19)
          CVE-2018-20549  (caca_file_read, 0.99.beta19, not concerned)
      
      See release note[^1] on the github project.
      
      It also allow to migrate the use of the new API instead of libcucul,
      which has been merged into libcaca since 0.99.beta15:
      
          commit f61816ceb7445f8bf818936151554ac060764b39
          Author: Sam Hocevar <sam@hocevar.net>
          Date:   Sat Sep 27 13:12:46 2008 +0000
      
          Starting refactoring to get rid of libcucul. The initial reason for the
          split is rendered moot by the plugin system: when enabled, binaries do
          not link directly with libX11 or libGL. I hope this is a step towards
          more consisteny and clarity.
      
      It was then completely wiped out by the following commit, which is part
      of v0.99.beta20:
      
          commit 5f0ec215f8c9915ed028324a8ecac8212f68e18d
          Author: Sam Hocevar <sam@hocevar.net>
          Date:   Thu May 3 10:33:30 2018 +0200
      
          Remove legacy code from 10 years ago.
      
      Check NEWS for details:
      
          \section news0_99_beta15 Changes between 0.99.beta15 and 0.99.beta14
      
           - libcucul was merged back into libcaca for more clarity
      
      [^1]: https://github.com/cacalabs/libcaca/releases/tag/v0.99.beta20
      2d597455
    • Alexandre Janniaux's avatar
      caca: fix to newer version · 2c7b5e00
      Alexandre Janniaux authored and Rémi Denis-Courmont's avatar Rémi Denis-Courmont committed
      Migrate to the new API instead of libcucul API, which has been merged
      into libcaca since 0.99.beta15:
      
          commit f61816ceb7445f8bf818936151554ac060764b39
          Author: Sam Hocevar <sam@hocevar.net>
          Date:   Sat Sep 27 13:12:46 2008 +0000
      
          Starting refactoring to get rid of libcucul. The initial reason for the
          split is rendered moot by the plugin system: when enabled, binaries do
          not link directly with libX11 or libGL. I hope this is a step towards
          more consisteny and clarity.
      
      It was then completely wiped out by the following commit, which is part
      of v0.99.beta20:
      
          commit 5f0ec215f8c9915ed028324a8ecac8212f68e18d
          Author: Sam Hocevar <sam@hocevar.net>
          Date:   Thu May 3 10:33:30 2018 +0200
      
          Remove legacy code from 10 years ago.
      2c7b5e00
    • Alexandre Janniaux's avatar
      configure: simplify libdsm check · 4d73c1ea
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      4d73c1ea
  7. Feb 10, 2022
  8. Feb 09, 2022
    • Alexandre Janniaux's avatar
      decklink: use override for virtual functions · 2e44d338
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      override will ensure that the functions have the correct signature
      compared to the interface they are implemented against.
      2e44d338
    • Alexandre Janniaux's avatar
      decklink: add default virtual destructor · 6836caf0
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      The class has virtual functions and is calling `delete this;` so it
      triggers a warning if the class has no virtual destructors.
      
          modules/access/decklink.cpp: In member function ‘virtual ULONG {anonymous}::DeckLinkCaptureDelegate::Release()’:
          modules/access/decklink.cpp:268:13: warning: deleting object of polymorphic class type ‘{anonymous}::DeckLinkCaptureDelegate’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
            268 |             delete this;
                |             ^~~~~~~~~~~
      6836caf0
    • Alexandre Janniaux's avatar
      vlc_objects: simplify VLC_OBJECT cast handling · 3a526cb3
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      Like done by _Generic in the C version, use overloading functions to
      define the correct casting behaviour depending on whether the pointer
      is already a vlc_object_t or possess a vlc_object_t as ->obj.
      
      This removes the need for listing all the objects which need a casting
      case, and non-vlc_object_t objects will fail with the following error:
      
          include/vlc_objects.h: In instantiation of ‘vlc_object_t* VLC_OBJECT(T*) [with T = {anonymous}::demux_sys_t; vlc_object_t = vlc_object_t]’:
          include/vlc_objects.h:83:18: error: ‘struct {anonymous}::demux_sys_t’ has no member named ‘obj’
      
      or, if there is a obj field which is not a vlc_object_t:
      
          include/vlc_objects.h: In instantiation of ‘vlc_object_t* VLC_OBJECT(T*) [with T = Open(vlc_object_t*)::foo; vlc_object_t = vlc_object_t]’:
          include/vlc_objects.h:83:18: error: cannot convert ‘Open(vlc_object_t*)::foo::obj*’ to ‘vlc_object_t*’ in return
             83 |     { return &d->obj; }
                |               ~~~^~~
                |                  |
                |                  Open(vlc_object_t*)::foo::obj*
      3a526cb3
    • Alexandre Janniaux's avatar
      qt: add missing forward declaration · 84016b14
      Alexandre Janniaux authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      intf_thread_t wasn't forward-declared and was available only thanks to
      vlc_object_cast forward declaration.
      84016b14
    • Tristan Matthews's avatar
      gstdecode: add AV1 · 58202004
      Tristan Matthews authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      58202004
  9. Feb 08, 2022
Loading