gst1: Replace get_caps() with query_caps()

This commit is contained in:
Stein Magnus Jodal 2015-09-02 00:45:26 +02:00
parent 8e771e8970
commit e402c9816c

View File

@ -104,7 +104,7 @@ def _pad_added(element, pad, pipeline):
sink.sync_state_with_parent()
pad.link(sink.get_pad('sink'))
if pad.get_caps().is_subset(_RAW_AUDIO):
if pad.query_caps().is_subset(_RAW_AUDIO):
struct = Gst.Structure('have-audio')
element.get_bus().post(Gst.message_new_application(element, struct))