mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
vaapidecode: proper numerator and denominator for forced latency framerate
https://bugzilla.gnome.org/show_bug.cgi?id=755040
This commit is contained in:
parent
cf097e60c7
commit
6d0c2a8e23
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ gst_vaapidecode_update_src_caps (GstVaapiDecode * decode)
|
|||
gint fps_d = GST_VIDEO_INFO_FPS_D (vi);
|
||||
if (fps_n <= 0 || fps_d <= 0) {
|
||||
GST_DEBUG_OBJECT (decode, "forcing 25/1 framerate for latency calculation");
|
||||
fps_n = 1;
|
||||
fps_d = 25;
|
||||
fps_n = 25;
|
||||
fps_d = 1;
|
||||
}
|
||||
|
||||
/* For parsing/preparation purposes we'd need at least 1 frame
|
||||
|
|
Loading…
Reference in a new issue