[vlc-devel] [PATCH v5 0/3] Refactoring SRT modules

Justin Kim justin.kim at collabora.com
Wed Mar 28 12:29:43 CEST 2018


On 26/03/2018 6:27 PM, Thomas Guillem wrote:
> I think you need to add -lpthreadGC2 in your generated src.pc for WIN32 (and -lpthread for others ?).
> 
> If I add -lpthreadGC2, I can finally build the 2 srt modules on Windows.

Done.

And I checked buildable with official docker image, and it is successfully done.


Justin Kim (3):
  access_out: srt: Refactoring to support connection recovery
  access: srt: Refactoring to support connection recovery
  contrib: srt: Enabled for Win32

 ...001-CMakeLists.txt-let-cmake-find-pthread.patch |  41 +++
 ...0001-Clean-.pc-to-provide-the-dependecies.patch |  46 +++
 .../srt/0001-Fix-include-path-for-wintime.h.patch  |  64 ++++
 .../0001-channel.cpp-add-mswsock.h-for-Win32.patch |  28 ++
 ...h-Enable-localtime_s-only-if-MSC_VER-1500.patch |  34 ++
 ...ore-api.h-change-inet_ntop-to-getnameinfo.patch |  43 +++
 contrib/src/srt/rules.mak                          |  13 +-
 modules/access/Makefile.am                         |   1 +
 modules/access/srt.c                               | 341 ++++++++++--------
 modules/access_output/Makefile.am                  |   1 +
 modules/access_output/srt.c                        | 396 +++++++++++++--------
 11 files changed, 719 insertions(+), 289 deletions(-)
 create mode 100644 contrib/src/srt/0001-CMakeLists.txt-let-cmake-find-pthread.patch
 create mode 100644 contrib/src/srt/0001-Clean-.pc-to-provide-the-dependecies.patch
 create mode 100644 contrib/src/srt/0001-Fix-include-path-for-wintime.h.patch
 create mode 100644 contrib/src/srt/0001-channel.cpp-add-mswsock.h-for-Win32.patch
 create mode 100644 contrib/src/srt/0001-srt_compat.h-Enable-localtime_s-only-if-MSC_VER-1500.patch
 create mode 100644 contrib/src/srt/0001-srtcore-api.h-change-inet_ntop-to-getnameinfo.patch

-- 
2.16.3



More information about the vlc-devel mailing list