evanpurkhiser / keyfinder-cli

A CLI wrapper for libkeyfinder. Making DJs lives easier.
GNU General Public License v3.0
111 stars 23 forks source link

Register codec and fix send/receive decode loop #13

Closed sfreed141 closed 5 years ago

sfreed141 commented 5 years ago

av_register_all and avcodec_register_all are needed for Ubuntu 18.04 (not sure exactly why).

Also, we need to change the decode loop for the send/receive API (see libav documentation). Receiving AVERROR(EAGAIN) from avcodec_receive_frame just means we need to send more input.

evanpurkhiser commented 5 years ago

Thank you!

The register alls produce deprecation warnings :(