ffmpeg: use av_stream_get_end_pts()

Simplifies code and should correct timing values when -*sync drop is used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-05-19 20:16:22 +02:00
parent 7f7080dc73
commit 1f359c8559
3 changed files with 3 additions and 9 deletions

View File

@@ -378,7 +378,6 @@ typedef struct OutputStream {
int64_t first_pts;
/* dts of the last packet sent to the muxer */
int64_t last_mux_dts;
int64_t last_mux_dts_plus_duration;
AVBitStreamFilterContext *bitstream_filters;
AVCodec *enc;
int64_t max_frames;