mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
avcodec/nvenc: fix signedness of timing fields
This commit is contained in:
parent
4a56b5f3d8
commit
9a2171318d
@ -2361,7 +2361,7 @@ static int nvenc_set_timestamp(AVCodecContext *avctx,
|
|||||||
AVPacket *pkt)
|
AVPacket *pkt)
|
||||||
{
|
{
|
||||||
NvencContext *ctx = avctx->priv_data;
|
NvencContext *ctx = avctx->priv_data;
|
||||||
int delay;
|
unsigned int delay;
|
||||||
int64_t delay_time;
|
int64_t delay_time;
|
||||||
|
|
||||||
pkt->pts = params->outputTimeStamp;
|
pkt->pts = params->outputTimeStamp;
|
||||||
|
@ -207,7 +207,7 @@ typedef struct NvencContext
|
|||||||
AVFifo *output_surface_ready_queue;
|
AVFifo *output_surface_ready_queue;
|
||||||
AVFifo *timestamp_list;
|
AVFifo *timestamp_list;
|
||||||
// This is for DTS calculating, reset after flush
|
// This is for DTS calculating, reset after flush
|
||||||
int64_t output_frame_num;
|
uint64_t output_frame_num;
|
||||||
int64_t initial_delay_time;
|
int64_t initial_delay_time;
|
||||||
|
|
||||||
NV_ENC_SEI_PAYLOAD *sei_data;
|
NV_ENC_SEI_PAYLOAD *sei_data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user