fix frame->duration to frame->pkt_duration

pull/2603/head
Isaac Connor 2019-05-10 12:58:54 -04:00
parent f67c00c29a
commit 67c20aa976
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ int VideoStore::resample_audio() {
zm_dump_frame(out_frame, "Out frame after convert");
// resampling doesn't change the duration, or set it.
out_frame->duration = in_frame->duration;
out_frame->pkt_duration = in_frame->pkt_duration;
if ( ret < 0 ) {
Error("Could not resample frame (error '%s')",