Author | SHA1 | Message | Date |
---|---|---|---|
|
0f0f3bd1e0 |
lavfi: use av_default_item_name() as filter private context logger
avfilter_default_filter_name() is supposed to access an AVFilterContext struct, if used with a private struct it will cause a crash since it will access fields which are non defined in the private struct. |
13 years ago |
|
4d6a8a2bdb |
lavfi: add avfilter_default_filter_name()
The function is modelled after av_default_item_name(), and will print the name of the instance filter if defined, otherwise the name of the filter. This allows to show the instance name in the log, which is useful when debugging complex filter graphs. |
13 years ago |
|
6b55aab01a |
lavfi: create buffer reference in filters which need to access the ref later
Also add internal function ff_null_start_frame_keep_ref(). Fix crash when a following filter (e.g. settb) will unref the reference passed by start_frame(), and then the reference is accessed in end_frame() through inlink->cur_buf. |
13 years ago |
|
409a3bda07 |
lavfi: add blackdetect filter
Address trac ticket #901. |
13 years ago |