aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fd8a279..9920aaa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1951,9 +1951,6 @@ int main(int argc, char **argv) {
int err = 0;
while ((err = av_buffersink_get_frame(audio_track.sink, aframe)) >= 0) {
- aframe->pts = audio_track.pts;
- audio_track.pts += audio_track.codec_context->frame_size;
-
if(framerate_mode == FramerateMode::CONSTANT) {
aframe->pts = audio_track.pts;
audio_track.pts += audio_track.codec_context->frame_size;