Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • libvlcpp libvlcpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • libvlcpplibvlcpp
  • Issues
  • #3

Closed
Open
Created Mar 14, 2019 by Austin H.@Mellnik

Issue in MediaPlayer::setAudioFormatCallbacks

This function generates a compile error saying the signature doesn't match. When I do the following change it works.

https://code.videolan.org/videolan/libvlcpp/blob/master/vlcpp/MediaPlayer.hpp#L779

libvlc_audio_setup_cb>::wrap( this, std::forward<SetupCb>( setup )

should be

libvlc_audio_setup_cb>::wrap( *m_callbacks, std::forward<SetupCb>( setup )

Same goes for libvlc_audio_cleanup_cb and setVolumeCallback if I am not mistaken here?

Assignee
Assign to
Time tracking

VideoLAN code repository instance