Switch transcode from avresample to swresample. From Brad.
This commit is contained in:
parent
896fe6ac49
commit
0663791abd
|
@ -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/
|
||||
|
|
|
@ -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[] = ""
|
||||
|
|
Loading…
Reference in New Issue