summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-08-26 23:07:51 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-08-27 16:59:08 +0200
commitd7f59ca0c4d14b658331c7a80bc99efcdee05d19 (patch)
tree20184634cd898bf7b52e572d56d0056f8830b354 /plugins
parent4f3cccc77a19dbd78895420b313ca836f1778306 (diff)
pad: Deprecate GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
The problem with both macros is, that they suggest something that isn't true. If GST_FLOW_IS_FATAL is true, there could still be a problem for many elements and they should stop what they're currently doing and return that value upstream (e.g. not-linked in a parser). If GST_FLOW_IS_SUCCESS is false, it could still be that this is "ok" for the element (e.g. not-linked for a demuxer on a few of its pads but not all). It's better to not have these "convenience" macros but instead let people *think* about the handling of different flow returns, that makes sense for their element. And we should document the expected handling of flow returns for different classes of elements in the plugin writer's guide. Fixes bug #628014.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions