need previous_pts and dts for both video and audio. I don't think they can share

This commit is contained in:
Isaac Connor 2017-06-02 16:53:14 -04:00
parent 0ac26277e3
commit eeefb2c8e2
1 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,10 @@ AVAudioResampleContext* resample_context;
int64_t audio_last_dts; int64_t audio_last_dts;
// These are for output, should start at zero. We assume they do not wrap because we just aren't going to save files that big. // These are for output, should start at zero. We assume they do not wrap because we just aren't going to save files that big.
int64_t previous_pts; int64_t video_previous_pts;
int64_t previous_dts; int64_t video_previous_dts;
int64_t audio_previous_pts;
int64_t audio_previous_dts;
int64_t filter_in_rescale_delta_last; int64_t filter_in_rescale_delta_last;