Date: Sat, 12 Aug 2017 16:42:18 -0400 From: Oleg Lelchuk <oleglelchuk@gmail.com> To: multimedia@freebsd.org Subject: Re: When I build vlc 3.0 with clang 5, I get "mkv error: cannot find KaxSegment or missing mandatory KaxInfo." Message-ID: <CA%2BGqWgs90m%2BWc-c2CSgvTGq3KOj=wxBUhHTH=htshO50HjEwOA@mail.gmail.com> In-Reply-To: <CA%2BGqWgtSX3uANKY_T5YLwrKRgm_DxyVczT4473yX3TbYzHFr4Q@mail.gmail.com> References: <CA%2BGqWgtSX3uANKY_T5YLwrKRgm_DxyVczT4473yX3TbYzHFr4Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, I statically linked vlc's libmkv_plugin.so against libebml.a and libmatroska.a, and it resolved the issue. On Sun, Aug 6, 2017 at 12:18 PM, Oleg Lelchuk <oleglelchuk@gmail.com> wrote: > Of course, vlc 3.0 is not available in the ports tree yet, but I am just > curious what I should do in order to get rid of the "mkv error: cannot find > KaxSegment or missing mandatory KaxInfo" issue if I build vlc 3.0 with > clang 5. This patch "#define MKV_IS_ID( el, C ) ( EbmlId( (*el) ) == > C::ClassInfos.GlobalId )" only works for vlc 2.x, but not for vlc 3.x. I > get compiler errors if I apply this patch. Of course, I have no issues if I > simply build vlc 3.0 with gcc7 instead of clang, but I am just curious how > to get rid of this mkv demuxer issue when I build vlc with clang. Thank you > in advance for answering my question. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BGqWgs90m%2BWc-c2CSgvTGq3KOj=wxBUhHTH=htshO50HjEwOA>