X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fplayback%2Fgstplaysinkconvertbin.c;h=38a34766d8ca58c29e26d6866488a45390bb30ff;hb=0d87fd7146230b1384dc77b0fe73085587e70369;hp=d5479e605cca6e1591e661372758597cc9e58116;hpb=6fe4d3196192eabbd4fc8fb8e931e5663da2cc9f;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c index d5479e6..38a3476 100644 --- a/gst/playback/gstplaysinkconvertbin.c +++ b/gst/playback/gstplaysinkconvertbin.c @@ -398,7 +398,7 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad, GstCaps * filter) if (peer) { GstCaps *peer_caps = gst_pad_query_caps (peer, filter); gst_object_unref (peer); - if (self->converter_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;