mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
h264parse: expose stereo-high profile
Exposing stereo-high profile as a compatible profile of multiview-high if the maximum number of encoded views in the stream is two. https://bugzilla.gnome.org/show_bug.cgi?id=743174
This commit is contained in:
parent
4fc3db1808
commit
654e2a0298
1 changed files with 9 additions and 2 deletions
|
@ -1315,8 +1315,15 @@ get_compatible_profile_caps (GstH264SPS * sps)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GST_H264_PROFILE_MULTIVIEW_HIGH:
|
case GST_H264_PROFILE_MULTIVIEW_HIGH:
|
||||||
/* Fix: should add GST_H264_PROFILE_STEREO_HIGH as compatible
|
if (sps->extension_type == GST_H264_NAL_EXTENSION_MVC
|
||||||
* profile if number of views == 2. */
|
&& sps->extension.mvc.num_views_minus1 == 1) {
|
||||||
|
static const gchar *profile_array[] =
|
||||||
|
{ "stereo-high", "multiview-high", NULL };
|
||||||
|
profiles = profile_array;
|
||||||
|
} else {
|
||||||
|
static const gchar *profile_array[] = { "multiview-high", NULL };
|
||||||
|
profiles = profile_array;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue