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.
This commit is contained in:
parent
aeed18a2bf
commit
63af4649c6
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user