Switch transcode from avresample to swresample. From Brad.

This commit is contained in:
sthen 2022-12-30 00:08:18 +00:00
parent 896fe6ac49
commit 0663791abd
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
COMMENT= video stream processing tools
DISTNAME= transcode-1.1.7
REVISION= 19
REVISION= 20
CATEGORIES= multimedia
HOMEPAGE= https://bitbucket.org/achurch_/transcode/

View File

@ -7,7 +7,7 @@ Index: filter/filter_resample.c
#include "libtc/optstr.h"
#include "libtc/tcavcodec.h"
#include "libtc/tcmodule-plugin.h"
+#include <libavresample/avresample.h>
+#include <libswresample/swresample.h>
typedef struct {
@ -16,7 +16,7 @@ Index: filter/filter_resample.c
int bytes_per_sample;
- ReSampleContext *resample_ctx;
+ AVAudioResampleContext *resample_ctx;
+ SwrContext *resample_ctx;
} ResamplePrivateData;
static const char resample_help[] = ""