1. 07 May, 2021 5 commits
  2. 06 May, 2021 5 commits
  3. 05 May, 2021 5 commits
    • Wim Taymans's avatar
      gst: enable DMABUF explicitly to avoid mmap issues · ec331f4e
      Wim Taymans authored
      PipeWire does not give DMABUF anymore to clients unless they
      explicitly ask for it. This results in v4l2 sending an fd and
      the mmapoffset + size fields in the buffer.
      
      GStreamer does not handle the mmapoffset in the fd allocator and
      thus runs into mmap problems when using the memory.
      
      Enable DMABuf explicitly to work around the problem until
      GStreamer is fixed.
      
      Fixes #1115
      ec331f4e
    • Wim Taymans's avatar
      v4l2: add some more debug · 44f49a3e
      Wim Taymans authored
      44f49a3e
    • Fabrice Fontaine's avatar
      meson.build: fix build with uclibc-ng · ce89ce38
      Fabrice Fontaine authored and Wim Taymans's avatar Wim Taymans committed
      Build with uclib-ng fails since commit
      a4b0b9af on:
      
      FAILED: src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o
      /srv/storage/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc -Isrc/pipewire/libpipewire-0.3.so.0.326.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wold-style-declaration -Wunused-result -DFASTPATH -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -pthread -DHAVE_CONFIG_H -D_GNU_SOURCE -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o -MF src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o.d -o src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o -c ../src/pipewire/impl-core.c
      ../src/pipewire/impl-core.c:54:9: error: conflicting types for 'getrandom'
       ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
               ^~~~~~~~~
      In file included from ../src/pipewire/impl-core.c:34:
      /srv/storage/autobuild/run/instance-2/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:28:12: note: previous declaration of 'getrandom' was here
       extern int getrandom(void *__buf, size_t count, unsigned int flags)
                  ^~~~~~~~~
      
      Fix this build failure by adding -D_GNU_SOURCE as getrandom is protected
      by:
      
      if defined __UCLIBC_LINUX_SPECIFIC__ && defined __USE_GNU
      
      Extracted from:
       - https://github.com/wbx-github/uclibc-ng/blob/master/libc/sysdeps/linux/common/sys/random.h
      
      Fixes:
       - http://autobuild.buildroot.org/results/a45f0ee009d90cef867dee4b1093225610fa10df
      
      
      
      Signed-off-by: Fabrice Fontaine's avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
      ce89ce38
    • Davide Beatrici's avatar
      pod: fix "missing-field-initializers" warnings · 5f09b9f4
      Davide Beatrici authored and Wim Taymans's avatar Wim Taymans committed
      /usr/include/spa-0.2/spa/pod/builder.h:90:13: error: missing field '_padding' initializer [-Werror,-Wmissing-field-initializers]
              *builder = SPA_POD_BUILDER_INIT(data, size);
                         ^
      
      /usr/include/spa-0.2/spa/pod/builder.h:90:13: error: missing field 'state' initializer [-Werror,-Wmissing-field-initializers]
              *builder = SPA_POD_BUILDER_INIT(data, size);
                         ^
      
      /usr/include/spa-0.2/spa/pod/builder.h:90:13: error: missing field 'callbacks' initializer [-Werror,-Wmissing-field-initializers]
              *builder = SPA_POD_BUILDER_INIT(data, size);
                         ^
      
      /usr/include/spa-0.2/spa/pod/builder.h:248:33: error: missing field '_padding' initializer [-Werror,-Wmissing-field-initializers]
              const struct spa_pod_float p = SPA_POD_INIT_Float(val);
                                             ^
      
      /usr/include/spa-0.2/spa/pod/parser.h:56:12: error: missing field '_padding' initializer [-Werror,-Wmissing-field-initializers]
              *parser = SPA_POD_PARSER_INIT(data, size);
                        ^
      
      /usr/include/spa-0.2/spa/pod/parser.h:56:12: error: missing field 'state' initializer [-Werror,-Wmissing-field-initializers]
              *parser = SPA_POD_PARSER_INIT(data, size);
                        ^
      5f09b9f4
    • George Kiagiadakis's avatar
      bc1f9d30
  4. 04 May, 2021 3 commits
  5. 03 May, 2021 9 commits
  6. 02 May, 2021 1 commit
  7. 01 May, 2021 1 commit
    • Wim Taymans's avatar
      dbus: clean up sources and connections · ebe5fa78
      Wim Taymans authored
      Set source user data for all dbus sources and set a destroy notify
      when removed.
      Remove the dbus user data to remove the source user data.
      Clean up remaining sources when destoying a connection
      Clean up remaining connections when freeing the dbus plugins.
      
      Fixes #1114
      ebe5fa78
  8. 30 Apr, 2021 8 commits
  9. 29 Apr, 2021 3 commits