mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rtph264pay: Force baseline is profile-level-id is unspecified
This commit is contained in:
parent
98dd495272
commit
18899cf94d
1 changed files with 10 additions and 0 deletions
|
@ -357,7 +357,17 @@ gst_rtp_h264_pay_getcaps (GstRTPBasePayload * payload, GstPad * pad,
|
||||||
}
|
}
|
||||||
gst_structure_take_value (new_s, "level", &levels);
|
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);
|
gst_caps_merge_structure (caps, new_s);
|
||||||
|
|
Loading…
Reference in a new issue