adrg / libvlc-go

Handcrafted Go bindings for libVLC and high-level media player interface
https://pkg.go.dev/github.com/adrg/libvlc-go/v3
MIT License
437 stars 50 forks source link

some methods have been deprecated #50

Closed PaulSayantan closed 4 years ago

PaulSayantan commented 4 years ago

when I am running the go get, this error arrives,

go get github.com/adrg/libvlc-go/v3
# github.com/adrg/libvlc-go/v3
cgo-gcc-prolog: In function ‘_cgo_9537c696e5c9_Cfunc_libvlc_media_is_parsed’:
cgo-gcc-prolog:210:2: warning: ‘libvlc_media_is_parsed’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/vlc/vlc.h:51,
                 from ../../../go/pkg/mod/github.com/adrg/libvlc-go/v3@v3.0.4/media.go:4:
/usr/include/vlc/deprecated.h:249:4: note: declared here
  249 |    libvlc_media_is_parsed( libvlc_media_t *p_md );
      |    ^~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_9537c696e5c9_Cfunc_libvlc_media_parse’:
cgo-gcc-prolog:263:2: warning: ‘libvlc_media_parse’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/vlc/vlc.h:51,
                 from ../../../go/pkg/mod/github.com/adrg/libvlc-go/v3@v3.0.4/media.go:4:
/usr/include/vlc/deprecated.h:209:1: note: declared here
  209 | libvlc_media_parse( libvlc_media_t *p_md );
      | ^~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_9537c696e5c9_Cfunc_libvlc_media_parse_async’:
cgo-gcc-prolog:275:2: warning: ‘libvlc_media_parse_async’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/vlc/vlc.h:51,
                 from ../../../go/pkg/mod/github.com/adrg/libvlc-go/v3@v3.0.4/media.go:4:
/usr/include/vlc/deprecated.h:233:1: note: declared here
  233 | libvlc_media_parse_async( libvlc_media_t *p_md );
      | ^~~~~~~~~~~~~~~~~~~~~~~~

all the dependencies were previously installed, as mentioned here

PaulSayantan commented 4 years ago

Duplicate #40