remove setting time base I don't know which version of ffmpe supports this, but not mine so it isn't solving the problem I thought it was

pull/3468/head
Isaac Connor 2022-04-21 17:00:10 -04:00
parent 1fbd730968
commit ccfbed6735
1 changed files with 0 additions and 3 deletions

View File

@ -1009,9 +1009,6 @@ int VideoStore::writeVideoFramePacket(const std::shared_ptr<ZMPacket> &zm_packet
//zm_packet->out_frame->pict_type = AV_PICTURE_TYPE_NONE;
//zm_packet->out_frame->key_frame = zm_packet->keyframe;
//frame->pkt_duration = 0;
#if HAVE_LIBAVUTIL_HWCONTEXT_H && LIBAVCODEC_VERSION_CHECK(57, 107, 0, 107, 0)
frame->time_base = video_out_ctx->time_base;
#endif
if (!video_first_pts) {
video_first_pts = static_cast<int64>(std::chrono::duration_cast<Microseconds>(zm_packet->timestamp.time_since_epoch()).count());