mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-01 13:49:58 +00:00
omxvideodec: use the decoder API to set latency
https://bugzilla.gnome.org/show_bug.cgi?id=785125
This commit is contained in:
parent
f2b0b66e39
commit
6d2082003a
1 changed files with 1 additions and 1 deletions
|
@ -2012,7 +2012,7 @@ gst_omx_video_dec_set_latency (GstOMXVideoDec * self)
|
|||
/* Convert to ns */
|
||||
latency = param.nLatency * GST_MSECOND;
|
||||
|
||||
gst_video_encoder_set_latency (GST_VIDEO_ENCODER (self), latency, latency);
|
||||
gst_video_decoder_set_latency (GST_VIDEO_DECODER (self), latency, latency);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue