justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
853 stars 144 forks source link

tsMuxer on NetBSD! #595

Closed Randrianasulu closed 2 years ago

Randrianasulu commented 2 years ago

compiles fine with this diff:

diff --git a/tsMuxer/osdep/textSubtitlesRenderFT.cpp b/tsMuxer/osdep/textSubtitlesRenderFT.cpp
index 3e22f26..fb8cfe3 100644
--- a/tsMuxer/osdep/textSubtitlesRenderFT.cpp
+++ b/tsMuxer/osdep/textSubtitlesRenderFT.cpp
@@ -22,6 +22,8 @@ const static char FONT_ROOT[] = "c:/WINDOWS/Fonts";  // for debug only
 const static char FONT_ROOT[] = "/usr/share/fonts/";
 #elif defined(__APPLE__) && defined(__MACH__)
 const static char FONT_ROOT[] = "/System/Library/Fonts/";
+#elif defined(__NetBSD__)
+const static char FONT_ROOT[] = "/usr/X11R7/lib/X11/fonts/";
 #endif

 #include <freetype/ftstroke.h>
$

@jcdr428 can you pick this up?