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
@ -886,8 +886,7 @@ gst_nv_av1_dec_get_preferred_output_delay (GstAV1Decoder * decoder,
|
|||||||
if (is_live)
|
if (is_live)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
return 2;
|
||||||
return 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -940,8 +940,7 @@ gst_nv_h264_dec_get_preferred_output_delay (GstH264Decoder * decoder,
|
|||||||
if (live)
|
if (live)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
return 2;
|
||||||
return 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -979,8 +979,7 @@ gst_nv_h265_dec_get_preferred_output_delay (GstH265Decoder * decoder,
|
|||||||
if (live)
|
if (live)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
return 2;
|
||||||
return 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -501,8 +501,7 @@ gst_nv_vp8_dec_get_preferred_output_delay (GstVp8Decoder * decoder,
|
|||||||
if (is_live)
|
if (is_live)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
return 2;
|
||||||
return 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -596,8 +596,7 @@ gst_nv_vp9_dec_get_preferred_output_delay (GstVp9Decoder * decoder,
|
|||||||
if (is_live)
|
if (is_live)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* NVCODEC SDK uses 4 frame delay for better throughput performance */
|
return 2;
|
||||||
return 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user