diff options
author | Peter Seiderer <ps.report@gmx.net> | 2012-09-03 13:58:22 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-14 17:27:49 +0200 |
commit | a0d88d5ff5b266f36e278c3455c6a409b4821949 (patch) | |
tree | cf824afd3e60d2844b4944de05ac2299e69ae307 | |
parent | fd030c15b7e2c5a62989f9f19ee775bb34d231d4 (diff) |
gsth264parse: add comment where return should be checked.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683264
-rw-r--r-- | gst/videoparsers/gsth264parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 4dca51c91..70f19e8fe 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -456,6 +456,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu) switch (nal_type) { case GST_H264_NAL_SPS: 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"); h264parse->update_caps = TRUE; @@ -473,6 +474,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu) break; case GST_H264_NAL_PPS: gst_h264_parser_parse_pps (nalparser, nalu, &pps); + /* TODO: check for failure (pps.id not set) */ /* parameters might have changed, force caps check */ GST_DEBUG_OBJECT (h264parse, "triggering src caps check"); h264parse->update_caps = TRUE; |