diff options
author | Mark Nauwelaerts <mnauw@users.sourceforge.net> | 2015-09-15 11:01:29 +0300 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-09-15 12:09:43 +0200 |
commit | b69d2279dc992eea3be48423007053cbf69dfeac (patch) | |
tree | 18176c34c5a359c95fa365e5c139c347d9aa2579 | |
parent | 14a27ecd857fc68f339416e549f6d4ec3bd644ba (diff) |
vaapidecode: proper numerator and denominator for forced latency framerate
https://bugzilla.gnome.org/show_bug.cgi?id=755040
-rw-r--r-- | gst/vaapi/gstvaapidecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c index db7e0de4..e8acad4e 100644 --- a/gst/vaapi/gstvaapidecode.c +++ b/gst/vaapi/gstvaapidecode.c @@ -267,8 +267,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 |