mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 05:35:53 +00:00
gsth264parse: add comment where return should be checked.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683264
This commit is contained in:
parent
fd030c15b7
commit
a0d88d5ff5
|
@ -456,6 +456,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
||||||
switch (nal_type) {
|
switch (nal_type) {
|
||||||
case GST_H264_NAL_SPS:
|
case GST_H264_NAL_SPS:
|
||||||
gst_h264_parser_parse_sps (nalparser, nalu, &sps, TRUE);
|
gst_h264_parser_parse_sps (nalparser, nalu, &sps, TRUE);
|
||||||
|
/* TODO: check for failure (sps.id not set) */
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (h264parse, "triggering src caps check");
|
GST_DEBUG_OBJECT (h264parse, "triggering src caps check");
|
||||||
h264parse->update_caps = TRUE;
|
h264parse->update_caps = TRUE;
|
||||||
|
@ -473,6 +474,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
||||||
break;
|
break;
|
||||||
case GST_H264_NAL_PPS:
|
case GST_H264_NAL_PPS:
|
||||||
gst_h264_parser_parse_pps (nalparser, nalu, &pps);
|
gst_h264_parser_parse_pps (nalparser, nalu, &pps);
|
||||||
|
/* TODO: check for failure (pps.id not set) */
|
||||||
/* parameters might have changed, force caps check */
|
/* parameters might have changed, force caps check */
|
||||||
GST_DEBUG_OBJECT (h264parse, "triggering src caps check");
|
GST_DEBUG_OBJECT (h264parse, "triggering src caps check");
|
||||||
h264parse->update_caps = TRUE;
|
h264parse->update_caps = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue