[Bug 645412] [h264parse] h264parse doesn't set framed=True on src caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 21 08:35:57 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645412
  GStreamer | gst-plugins-bad | git

--- Comment #1 from Fraxinas <andreas.frisch at multimedia-labs.de> 2011-03-21 15:35:51 UTC ---
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);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list