mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 14:30:20 -05:00
Add transcoding infrastructure
This commit is contained in:
21
src/transcode.h
Normal file
21
src/transcode.h
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
#ifndef __TRANSCODE_H__
|
||||
#define __TRANSCODE_H__
|
||||
|
||||
#include <evhttp.h>
|
||||
|
||||
struct transcode_ctx;
|
||||
|
||||
int
|
||||
transcode(struct transcode_ctx *ctx, struct evbuffer *evbuf, int wanted);
|
||||
|
||||
struct transcode_ctx *
|
||||
transcode_setup(struct media_file_info *mfi, size_t *est_size);
|
||||
|
||||
void
|
||||
transcode_cleanup(struct transcode_ctx *ctx);
|
||||
|
||||
int
|
||||
transcode_needed(struct evkeyvalq *headers, char *file_codectype);
|
||||
|
||||
#endif /* !__TRANSCODE_H__ */
|
||||
Reference in New Issue
Block a user