gst/gstpad.c: Don't allow activation of a srcpad in pull_range if it has no getrange...
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 14 Dec 2005 10:09:35 +0000 (10:09 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 14 Dec 2005 10:09:35 +0000 (10:09 +0000)
commitbcdfacaf5d58ecc4c19428fc92b65035a9bf74b9
treedb4cf916517ad04bb7dd1b27ed360f65f7811378
parent83a815e648ee4c301ab81f964a4667e8797b9e8d
gst/gstpad.c: Don't allow activation of a srcpad in pull_range if it has no getrange function.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
Don't allow activation of a srcpad in pull_range if it has no
getrange function.
Change some debug statements to be a little clearer

* plugins/elements/gsttypefindelement.c:
(gst_type_find_handle_src_query):
Check that we have a peer before executing queries thereupon.

* tests/examples/metadata/read-metadata.c: (message_loop):
Use gst_bus_pop instead of gst_bus_poll when we just want it to
immediately return us any available message with 0 timeout.
ChangeLog
gst/gstpad.c
plugins/elements/gsttypefindelement.c
tests/examples/metadata/read-metadata.c