mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
playsinkconvertbin: Fix stupid mistake in last commit
This commit is contained in:
parent
c1b1e2b44e
commit
f179213aa0
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad)
|
|||
if (peer) {
|
||||
GstCaps *peer_caps = gst_pad_get_caps_reffed (peer);
|
||||
gst_object_unref (peer);
|
||||
if (self->converter_caps && is_raw_caps (peer_caps)) {
|
||||
if (self->converter_caps && is_raw_caps (peer_caps, self->audio)) {
|
||||
peer_caps = gst_caps_make_writable (peer_caps);
|
||||
gst_caps_merge (peer_caps, gst_caps_ref (self->converter_caps));
|
||||
ret = peer_caps;
|
||||
|
|
Loading…
Reference in a new issue