try setting out_frame pts from in_frame
This commit is contained in:
parent
62bf7d54f1
commit
281775cc80
|
@ -949,6 +949,7 @@ int VideoStore::writeAudioFramePacket(AVPacket *ipkt) {
|
||||||
0, in_frame->nb_samples))
|
0, in_frame->nb_samples))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
out_frame->pts = in_frame->pts;
|
||||||
av_frame_unref(in_frame);
|
av_frame_unref(in_frame);
|
||||||
if ( ret < 0 ) {
|
if ( ret < 0 ) {
|
||||||
Error("Could not resample frame (error '%s')",
|
Error("Could not resample frame (error '%s')",
|
||||||
|
|
Loading…
Reference in New Issue