forked from mirrors/gstreamer-rs
examples: fix typo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1300>
This commit is contained in:
parent
c0f9551fc4
commit
1e2e57836f
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ fn example_main() -> Result<(), Error> {
|
||||||
|
|
||||||
// Request a sink pad from our encodebin, that can handle a raw videostream.
|
// Request a sink pad from our encodebin, that can handle a raw videostream.
|
||||||
// The encodebin will then automatically create an internal pipeline, that encodes
|
// The encodebin will then automatically create an internal pipeline, that encodes
|
||||||
// the audio stream in the format we specified in the EncodingProfile.
|
// the video stream in the format we specified in the EncodingProfile.
|
||||||
let enc_sink_pad = encodebin
|
let enc_sink_pad = encodebin
|
||||||
.request_pad_simple("video_%u")
|
.request_pad_simple("video_%u")
|
||||||
.expect("Could not get video pad from encodebin");
|
.expect("Could not get video pad from encodebin");
|
||||||
|
|
Loading…
Reference in a new issue