Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- flvenc.c 2016-04-15 16:08:00.000000000 +0300
- +++ flvenc_mod.c 2016-04-15 16:08:44.000000000 +0300
- @@ -469,12 +469,12 @@
- if (flv->delay == AV_NOPTS_VALUE)
- {
- - int64_t millis;
- + /*int64_t millis;
- struct timeval tv;
- gettimeofday(&tv, NULL);
- - millis = 1000 * tv.tv_sec + tv.tv_usec / 1000;
- + millis = 1000 * tv.tv_sec + tv.tv_usec / 1000;*/
- - flv->delay = millis;//-pkt->dts;
- + flv->delay = -pkt->dts;
- }
- if (pkt->dts < -flv->delay) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement