mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-14 03:11:55 -04:00
- Try to not return items which a client can't play - Remove inotify subscription to IN_MODIFY and IN_CREATE - Fix crash on unknown codec type in transcode.c - Probably added some new bugs...
25 lines
499 B
C
25 lines
499 B
C
|
|
#ifndef __TRANSCODE_H__
|
|
#define __TRANSCODE_H__
|
|
|
|
#include "evhttp/evhttp.h"
|
|
|
|
struct transcode_ctx;
|
|
|
|
int
|
|
transcode(struct transcode_ctx *ctx, struct evbuffer *evbuf, int wanted);
|
|
|
|
int
|
|
transcode_seek(struct transcode_ctx *ctx, int ms);
|
|
|
|
int
|
|
transcode_setup(struct transcode_ctx **nctx, struct media_file_info *mfi, off_t *est_size, int wavhdr);
|
|
|
|
void
|
|
transcode_cleanup(struct transcode_ctx *ctx);
|
|
|
|
int
|
|
transcode_needed(struct evkeyvalq *headers, char *file_codectype);
|
|
|
|
#endif /* !__TRANSCODE_H__ */
|