aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-21 00:52:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-21 00:52:14 +0100
commit00cae86754ef93fd4fff8d33424ea6304b126a32 (patch)
tree774266461336dada56e2944883899e66aef52eb8 /libswresample/swresample_internal.h
parenteb553096e59898328ba4ac406ff5a25c29d59f0d (diff)
downloadffmpeg-00cae86754ef93fd4fff8d33424ea6304b126a32.tar.gz
swr: support first_pts
Trolled-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index be332d0039..3f8090481b 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -102,6 +102,7 @@ struct SwrContext {
float soft_compensation_duration; ///< swr duration over which soft compensation is applied
float max_soft_compensation; ///< swr maximum soft compensation in seconds over soft_compensation_duration
float async; ///< swr simple 1 parameter async, similar to ffmpegs -async
+ int64_t firstpts_in_samples; ///< swr first pts in samples
int resample_first; ///< 1 if resampling must come first, 0 if rematrixing
int rematrix; ///< flag to indicate if rematrixing is needed (basically if input and output layouts mismatch)
@@ -120,6 +121,7 @@ struct SwrContext {
int resample_in_constraint; ///< 1 if the input end was reach before the output end, 0 otherwise
int flushed; ///< 1 if data is to be flushed and no further input is expected
int64_t outpts; ///< output PTS
+ int64_t firstpts; ///< first PTS
int drop_output; ///< number of output samples to drop
struct AudioConvert *in_convert; ///< input conversion context