mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
fallbacksrc: Don't apply fallback-audio-caps to the main audio stream
Intended behavior is configuring audio convert/resample elements only for the fallback stream and also fallback-audio-caps is set. Video and image stream are doing it as intended already. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1213>
This commit is contained in:
parent
7ebf2d7a4f
commit
3406e604cd
1 changed files with 1 additions and 1 deletions
|
@ -1672,7 +1672,7 @@ impl FallbackSrc {
|
|||
filter_caps: &gst::Caps,
|
||||
fallback_source: bool,
|
||||
) -> gst::Element {
|
||||
if !fallback_source && filter_caps.is_any() {
|
||||
if !fallback_source || filter_caps.is_any() {
|
||||
return gst::ElementFactory::make("identity")
|
||||
.build()
|
||||
.expect("No identity found");
|
||||
|
|
Loading…
Reference in a new issue