mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[transcode] Update to new ffmpeg api - part 1
- no more use of AVStream.codec - ditch some backwards compability - move closer to being able do video, at least for artwork
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
static int
|
||||
setup(struct player_source *ps)
|
||||
{
|
||||
ps->input_ctx = transcode_setup(ps->data_kind, ps->path, ps->len_ms, XCODE_PCM16_NOHEADER, NULL);
|
||||
ps->input_ctx = transcode_setup(XCODE_PCM16_NOHEADER, ps->data_kind, ps->path, ps->len_ms, NULL);
|
||||
if (!ps->input_ctx)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user