[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983109: Build vlc with srt support



Package: vlc
Version: 3.0.12-2

>From reading the rules file it looks like #962624 was the reason to not
build vlc with srt support. It looks like that bug is fixed to me, and I
think it would be nice to include srt support in vlc.


I took a quick stab at building my own vlc with srt support but i got
stpped by:


access/srt.c: In function 'srt_schedule_reconnect':
access/srt.c:144:5: warning: 'srt_socket' is deprecated [-Wdeprecated-declarations]
  144 |     p_sys->sock = srt_socket( res->ai_family, SOCK_DGRAM, 0 );
      |     ^~~~~
In file included from access/srt.c:38:
/usr/include/srt/srt.h:754:41: note: declared here
  754 | SRT_ATR_DEPRECATED_PX SRT_API SRTSOCKET srt_socket(int, int, int) SRT_ATR_DEPRECATED;
      |                                         ^~~~~~~~~~
access/srt.c:168:37: error: 'SRTO_TSBPDDELAY' undeclared (first use in this function); did you mean 'SRTO_TSBPDMODE'?
  168 |     srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
      |                                     ^~~~~~~~~~~~~~~
      |                                     SRTO_TSBPDMODE


So, there is some incompatibility still left there.

//Anton


Reply to: