From 63af4649c6e6042f39b45c44a82529248dbb6721 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 4 Feb 2016 12:50:43 +0000 Subject: h264parse: remove unused mview_mode value Since commit b77f8e172a3f0be6be5cb4a72e654253404e694f the new value assigned to mview_mode hasn't been used. That commit changed the following "if" check to an "else if", which means the original value of mview_mode is used. --- gst/videoparsers/gsth264parse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gst') diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 1d50fc173..6721657c2 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -1800,8 +1800,6 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps) /* Pass through or set output stereo/multiview config */ if (s && gst_structure_has_field (s, "multiview-mode")) { caps_mview_mode = gst_structure_get_string (s, "multiview-mode"); - mview_mode = - gst_video_multiview_mode_from_caps_string (caps_mview_mode); gst_structure_get_flagset (s, "multiview-flags", &mview_flags, NULL); } else if (mview_mode != GST_VIDEO_MULTIVIEW_MODE_NONE) { if (gst_video_multiview_guess_half_aspect (mview_mode, -- cgit v1.2.1