GNOME Bugzilla – Bug 645412
[h264parse] h264parse doesn't set framed=True on src caps
Last modified: 2011-03-21 15:54:16 UTC
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 799303e..cbe0ac5 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -688,6 +688,7 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse) } if (caps) { + gst_caps_set_simple (caps, "parsed", G_TYPE_BOOLEAN, TRUE, NULL); gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING, gst_h264_parse_get_string (h264parse, TRUE, h264parse->format), "alignment", G_TYPE_STRING,
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 799303e..e2e3d86 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -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);
commit 5867b69aa393fed5be7779be244e812a143901aa Author: Andreas Frisch <andreas.frisch@multimedia-labs.de> Date: Mon Mar 21 16:51:16 2011 +0100 h264parse: Set parsed=true in the srcpad caps Fixes bug #645412.