h264parse: Do not check for VUI parameters if they were not present in the SPS
This commit is contained in:
parent
92e9988a40
commit
ece3d1c2f6
@ -1296,6 +1296,10 @@ gst_h264_parse_get_timestamp (GstH264Parse * h264parse,
|
||||
if (!sps) {
|
||||
GST_DEBUG_OBJECT (h264parse, "referred SPS invalid");
|
||||
goto exit;
|
||||
} else if (!sps->vui_parameters_present_flag) {
|
||||
GST_DEBUG_OBJECT (h264parse,
|
||||
"unable to compute timestamp: VUI not present");
|
||||
goto exit;
|
||||
} else if (!sps->vui_parameters.timing_info_present_flag) {
|
||||
GST_DEBUG_OBJECT (h264parse,
|
||||
"unable to compute timestamp: timing info not present");
|
||||
|
Loading…
x
Reference in New Issue
Block a user