diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-01-18 18:53:29 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-01-18 20:46:22 +0100 |
commit | da77fd5e2ef0d376b408a4bab7b2be6bc1d32a62 (patch) | |
tree | 84a95ba9e3e2e04ee4ac000d6a9a700f97226192 | |
parent | ea9c52ea8f75ecf43ecbc38ecacd876364aea835 (diff) |
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
-rw-r--r-- | gst/vaapi/gstvaapipostprocutil.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapipostprocutil.c b/gst/vaapi/gstvaapipostprocutil.c index c71a20be..1cdc5c49 100644 --- a/gst/vaapi/gstvaapipostprocutil.c +++ b/gst/vaapi/gstvaapipostprocutil.c @@ -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); |