h264parse: Set parsed=true in the srcpad caps

Fixes bug #645412.
This commit is contained in:
Andreas Frisch 2011-03-21 16:51:16 +01:00 committed by Sebastian Dröge
parent 261431ef17
commit 5867b69aa3

View file

@ -688,7 +688,8 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse)
}
if (caps) {
gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING,
gst_caps_set_simple (caps, "parsed", G_TYPE_BOOLEAN, TRUE,
"stream-format", G_TYPE_STRING,
gst_h264_parse_get_string (h264parse, TRUE, h264parse->format),
"alignment", G_TYPE_STRING,
gst_h264_parse_get_string (h264parse, FALSE, h264parse->align), NULL);