Showing the changes to libavcodec (2 of 2 files). Show all
Unified · Split
| @@ -2361,7 +2361,7 @@ static int nvenc_set_timestamp(AVCodecContext *avctx, · 2360 unmodified lines | ||
| 2361 | 2361 | AVPacket *pkt) |
| 2362 | 2362 | { |
| 2363 | 2363 | NvencContext *ctx = avctx->priv_data; |
| 2364 | − int delay; | |
| 2364 | + unsigned int delay; | |
| 2365 | 2365 | int64_t delay_time; |
| 2366 | 2366 | |
| 2367 | 2367 | pkt->pts = params->outputTimeStamp; |
| @@ -207,7 +207,7 @@ typedef struct NvencContext · 206 unmodified lines | ||
| 207 | 207 | AVFifo *output_surface_ready_queue; |
| 208 | 208 | AVFifo *timestamp_list; |
| 209 | 209 | // This is for DTS calculating, reset after flush |
| 210 | − int64_t output_frame_num; | |
| 210 | + uint64_t output_frame_num; | |
| 211 | 211 | int64_t initial_delay_time; |
| 212 | 212 | |
| 213 | 213 | NV_ENC_SEI_PAYLOAD *sei_data; |