projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98dd495
)
rtph264pay: Force baseline is profile-level-id is unspecified
author
Olivier CrĂȘte
<olivier.crete@collabora.com>
Mon, 20 Feb 2012 17:22:12 +0000
(12:22 -0500)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 21 Feb 2012 09:51:43 +0000
(10:51 +0100)
gst/rtp/gstrtph264pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph264pay.c
b/gst/rtp/gstrtph264pay.c
index
2be9e00
..
93ddf79
100644
(file)
--- a/
gst/rtp/gstrtph264pay.c
+++ b/
gst/rtp/gstrtph264pay.c
@@
-357,7
+357,17
@@
gst_rtp_h264_pay_getcaps (GstRTPBasePayload * payload, GstPad * pad,
}
gst_structure_take_value (new_s, "level", &levels);
}
+ } else {
+ /* Invalid profile-level-id means baseline */
+
+ gst_structure_set (new_s,
+ "profile", G_TYPE_STRING, "constrained-baseline", NULL);
}
+ } else {
+ /* No profile-level-id also means baseline */
+
+ gst_structure_set (new_s,
+ "profile", G_TYPE_STRING, "constrained-baseline", NULL);
}
gst_caps_merge_structure (caps, new_s);