mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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:
parent
ea9c52ea8f
commit
da77fd5e2e
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue