webrtcsink: Add VP9 parser after the encoder for VP9 too

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1582>
This commit is contained in:
cdelguercio 2024-05-15 11:37:04 -07:00 committed by Sebastian Dröge
parent 4be259035c
commit 32b987d73e

View file

@ -673,6 +673,7 @@ impl Codec {
pub fn build_parser(&self) -> Result<Option<gst::Element>, Error> { pub fn build_parser(&self) -> Result<Option<gst::Element>, Error> {
match self.name.as_str() { match self.name.as_str() {
"VP9" => make_element("vp9parse", None),
"H264" => make_element("h264parse", None), "H264" => make_element("h264parse", None),
"H265" => make_element("h265parse", None), "H265" => make_element("h265parse", None),
_ => return Ok(None), _ => return Ok(None),