summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index 9e8fc532b..bd7b2587b 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -1589,7 +1589,7 @@ gst_h264_parse_sps (GstH264NalUnit * nalu, GstH264SPS * sps,
error:
GST_WARNING ("error parsing \"Sequence parameter set\"");
-
+ sps->valid = FALSE;
return GST_H264_PARSER_ERROR;
}
@@ -1719,6 +1719,7 @@ done:
error:
GST_WARNING ("error parsing \"Picture parameter set\"");
+ pps->valid = FALSE;
return GST_H264_PARSER_ERROR;
}