Commit 5174104e authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbpsi: dvbpsi_decoder_present() is deprecated.

The function is replaced by dvbpsi_decoder_chain_get() that looksup a
decoder by its table_id and extension in a linked list.
parent c69f35d8
......@@ -242,7 +242,7 @@ void dvbpsi_decoder_delete(dvbpsi_decoder_t *p_decoder)
}
/*****************************************************************************
* dvbpsi_decoder_present
* dvbpsi_decoder_present: DEPRECATED use dvbpsi_decoder_chain_get() instead.
*****************************************************************************/
bool dvbpsi_decoder_present(dvbpsi_t *p_dvbpsi)
{
......
......@@ -381,7 +381,10 @@ bool dvbpsi_decoder_psi_section_add(dvbpsi_decoder_t *p_decoder, dvbpsi_psi_sect
*
* Determines if a decoder is attached to this dvbpsi_t handle. When the dvbpsi
* handle is invalid the fuction will return false.
*
* DEPRECATED @see dvbpsi_decoder_chain_get() instead.
*/
__attribute__((deprecated,unused))
bool dvbpsi_decoder_present(dvbpsi_t *p_dvbpsi);
#ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment