mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 00:35:03 -05:00
Register ffmpeg evbuffer URL handler
This commit is contained in:
parent
a1ef2ab243
commit
1f5efe038b
@ -63,6 +63,7 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
|||||||
#include "httpd.h"
|
#include "httpd.h"
|
||||||
#include "mdns_avahi.h"
|
#include "mdns_avahi.h"
|
||||||
#include "remote_pairing.h"
|
#include "remote_pairing.h"
|
||||||
|
#include "ffmpeg_url_evbuffer.h"
|
||||||
|
|
||||||
|
|
||||||
#define PIDFILE STATEDIR "/run/" PACKAGE ".pid"
|
#define PIDFILE STATEDIR "/run/" PACKAGE ".pid"
|
||||||
@ -557,6 +558,7 @@ main(int argc, char **argv)
|
|||||||
/* Initialize ffmpeg */
|
/* Initialize ffmpeg */
|
||||||
av_register_all();
|
av_register_all();
|
||||||
av_log_set_callback(logger_ffmpeg);
|
av_log_set_callback(logger_ffmpeg);
|
||||||
|
register_ffmpeg_evbuffer_url_protocol();
|
||||||
|
|
||||||
/* Initialize libgcrypt */
|
/* Initialize libgcrypt */
|
||||||
gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
|
gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
|
||||||
|
Loading…
Reference in New Issue
Block a user