vaapipostproc: remove spurious code

This assignation is dead code, since gst_video_info_from_caps() set
to 1 by default.

https://bugzilla.gnome.org/show_bug.cgi?id=790149
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-01-18 18:53:29 +01:00
parent ea9c52ea8f
commit da77fd5e2e

View file

@ -173,8 +173,6 @@ _fixate_frame_size (GstVaapiPostproc * postproc, GstVideoInfo * vinfo,
gint num, den;
from_par_n = GST_VIDEO_INFO_PAR_N (vinfo);
if (from_par_n == 0)
from_par_n = 1;
from_par_d = GST_VIDEO_INFO_PAR_D (vinfo);
from_w = GST_VIDEO_INFO_WIDTH (vinfo);
from_h = GST_VIDEO_INFO_HEIGHT (vinfo);