After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645412 - [h264parse] h264parse doesn't set framed=True on src caps
[h264parse] h264parse doesn't set framed=True on src caps
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-21 15:25 UTC by Andreas Frisch
Modified: 2011-03-21 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Frisch 2011-03-21 15:25:14 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,
Comment 1 Andreas Frisch 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);
Comment 2 Sebastian Dröge (slomo) 2011-03-21 15:54:16 UTC
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.