mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
nvdecoder: Reduce render delay to 2 frames
4 frames delay seems to be too high Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3884>
This commit is contained in:
parent
f6defc0c5b
commit
6ddd1713f1
5 changed files with 5 additions and 10 deletions
|
@ -886,8 +886,7 @@ gst_nv_av1_dec_get_preferred_output_delay (GstAV1Decoder * decoder,
|
|||
if (is_live)
|
||||
return 0;
|
||||
|
||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -940,8 +940,7 @@ gst_nv_h264_dec_get_preferred_output_delay (GstH264Decoder * decoder,
|
|||
if (live)
|
||||
return 0;
|
||||
|
||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -979,8 +979,7 @@ gst_nv_h265_dec_get_preferred_output_delay (GstH265Decoder * decoder,
|
|||
if (live)
|
||||
return 0;
|
||||
|
||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -501,8 +501,7 @@ gst_nv_vp8_dec_get_preferred_output_delay (GstVp8Decoder * decoder,
|
|||
if (is_live)
|
||||
return 0;
|
||||
|
||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -596,8 +596,7 @@ gst_nv_vp9_dec_get_preferred_output_delay (GstVp9Decoder * decoder,
|
|||
if (is_live)
|
||||
return 0;
|
||||
|
||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
||||
return 4;
|
||||
return 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue