mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
libs: decoder: h264: disallow multiple slice group
As far as we know there are no VAAPI drivers supporting FMO, which migth be used in baseline streams. This commit is a continuation of https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/328 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/332>
This commit is contained in:
parent
e68fece3e6
commit
593f6650ef
1 changed files with 6 additions and 0 deletions
|
@ -1832,6 +1832,12 @@ parse_pps (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
|
|||
return get_status (result);
|
||||
|
||||
priv->parser_state |= GST_H264_VIDEO_STATE_GOT_PPS;
|
||||
|
||||
if (pps->num_slice_groups_minus1 > 0) {
|
||||
GST_FIXME ("FMO is not supported");
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;
|
||||
}
|
||||
|
||||
return GST_VAAPI_DECODER_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue