From 281775cc801decd1a5af0aad6ff797a5c5f58ea5 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 14 Feb 2019 15:54:47 -0500 Subject: [PATCH] try setting out_frame pts from in_frame --- src/zm_videostore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 83e44bfcc..fc4a64d2d 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -949,6 +949,7 @@ int VideoStore::writeAudioFramePacket(AVPacket *ipkt) { 0, in_frame->nb_samples)) #endif #endif + out_frame->pts = in_frame->pts; av_frame_unref(in_frame); if ( ret < 0 ) { Error("Could not resample frame (error '%s')",