mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-28 22:41:02 +00:00
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:
parent
4be259035c
commit
32b987d73e
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue