1. 02 Jul, 2020 7 commits
  2. 01 Jul, 2020 3 commits
  3. 30 Jun, 2020 3 commits
    • Rémi Denis-Courmont's avatar
      modules: do not alloc/copy in module_list_cap() · 5aa07927
      Rémi Denis-Courmont authored
      If the caller needs to modify the table, it can make its own copy
      (which is currently not always the case).
      
      Consequently, the return value can become a size_t.
      5aa07927
    • Alexandre Janniaux's avatar
      test: add iosvlc.m for iOS development · e16f4d9b
      Alexandre Janniaux authored
      iosvlc.m provides a binary usable as an iOS application, forwarding the
      VLC arguments just like VLC on desktop. It allows easier iteration on
      vlccore development for iOS, without the need to test in a VLCKit
      application like VLC for iOS or new external application.
      
      It is currently designed for usage with dynamic plugins.
      
      To develop with it, you must generate a .ipa archive containing both
      the resulting binary as executable, a PkgInfo file, an Info.plist file
      describing the package and the libs (libvlc.dylib, libvlccore.dylib, and
      every plugin .dylib or additional convenience libraries that are not
      linked statically in the Frameworks/ directory. It must then be signed
      with a developer certificate allowed by Apple and provisionned with a
      mobileprovision file allowing installation on the given device for the
      same developer certificate.
      
      Then, tools like libimobiledevice can be used to start the application
      with additional arguments or environment variables. They can also be
      added in XCode through the "Edit Scheme" menu.
      
      A big part of the iOS-specific code has been originally written by
      Marvin Scholz in a more complete libVLC ios sample.
      Co-authored-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
      e16f4d9b
    • Alexandre Janniaux's avatar
      compat: tfind: fix prototype · e1c1eac1
      Alexandre Janniaux authored
      Use prototype from tsearch(3), fixes the following warning when
      targetin Android arm API 17.
      
      ../../src/misc/variables.c:154:32: warning: passing 'void **' to
      parameter of type 'const void **' discards qualifiers in nested
      pointer types [-Wincompatible-pointer-types-discards-qualifiers]
      
          pp_var = tfind( &psz_name, &priv->var_root, varcmp );
                                     ^~~~~~~~~~~~~~~
      e1c1eac1
  4. 29 Jun, 2020 9 commits
  5. 27 Jun, 2020 2 commits
    • Alexandre Janniaux's avatar
      avcodec: va: directly set data[3] with surface · 3804ff2d
      Alexandre Janniaux authored
      We never use data[0] for anything, nor does avcodec, and it can
      actually keep the same initialized value or be NULL.
      
      In particular, it fixes avcodec decoder with vaapi vlc_va_t backend
      which was generating VASurfaceID of value 0 to count, leading to the
      following assertion:
      
          vlc: ../../modules/codec/avcodec/video.c:1492: lavc_va_GetFrame: Assertion `frame->data[0] != NULL' failed.
          [1]    154639 abort (core dumped)  ./build-native/vlc <sample> --dec-dev=vaapi -vvv
      3804ff2d
    • Alexandre Janniaux's avatar
      transcode: video: refactor error handling · 09f4085e
      Alexandre Janniaux authored
      The same error handling path is duplicated at multiple location. Move it
      after function success and jump to it when necessary instead.
      09f4085e
  6. 26 Jun, 2020 8 commits
  7. 25 Jun, 2020 5 commits
  8. 24 Jun, 2020 3 commits