mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
h264parse: Do not check for VUI parameters if they were not present in the SPS
This commit is contained in:
parent
92e9988a40
commit
ece3d1c2f6
1 changed files with 4 additions and 0 deletions
|
@ -1296,6 +1296,10 @@ gst_h264_parse_get_timestamp (GstH264Parse * h264parse,
|
||||||
if (!sps) {
|
if (!sps) {
|
||||||
GST_DEBUG_OBJECT (h264parse, "referred SPS invalid");
|
GST_DEBUG_OBJECT (h264parse, "referred SPS invalid");
|
||||||
goto exit;
|
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) {
|
} else if (!sps->vui_parameters.timing_info_present_flag) {
|
||||||
GST_DEBUG_OBJECT (h264parse,
|
GST_DEBUG_OBJECT (h264parse,
|
||||||
"unable to compute timestamp: timing info not present");
|
"unable to compute timestamp: timing info not present");
|
||||||
|
|
Loading…
Reference in a new issue