summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-02-04 12:50:43 +0000
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-02-04 12:50:47 +0000
commit63af4649c6e6042f39b45c44a82529248dbb6721 (patch)
tree3cfe105498044a17d6dc4f6fd4d6bf704d957cba /gst
parentaeed18a2bf0bc511721bb6362a34f47d7804ba6b (diff)
downloadgstreamer-plugins-bad-63af4649c6e6042f39b45c44a82529248dbb6721.tar.gz
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/gsth264parse.c2
1 files changed, 0 insertions, 2 deletions
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,