mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
playsinkconvertbin: Only return the converter caps if we actually have raw caps
Fixes bug #664818 (hopefully).
This commit is contained in:
parent
4c52f4e625
commit
c1b1e2b44e
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) {
|
||||
if (self->converter_caps && is_raw_caps (peer_caps)) {
|
||||
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