aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-24 19:07:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-24 20:31:56 +0100
commitad899522ffa7f0039e631b0408a36f23aa84c0e7 (patch)
tree6a2890728bf42084705e0100bec473570d1071a7 /ffmpeg.h
parentf3abdf4392a146462dc679846c061b8bf2b5c7a0 (diff)
downloadffmpeg-ad899522ffa7f0039e631b0408a36f23aa84c0e7.tar.gz
ffmpeg: use a AVDictionary instead of the context to move swr parameters around
This avoids per parameter changes in ffmpeg at the cost of making access somewhat more annoying. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 9582f94340..d8a963ece5 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -346,10 +346,8 @@ typedef struct OutputStream {
char *avfilter;
int64_t sws_flags;
- int64_t swr_filter_type;
- int64_t swr_dither_method;
- double swr_dither_scale;
AVDictionary *opts;
+ AVDictionary *swr_opts;
AVDictionary *resample_opts;
int finished; /* no more packets should be written for this stream */
int unavailable; /* true if the steram is unavailable (possibly temporarily) */