1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>start_filtering()</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API"><link rel="up" href="dvb_kdapi.html" title="Chapter&#160;15.&#160;Kernel Demux API"><link rel="prev" href="ch15s09.html" title="release_filter()"><link rel="next" href="ch15s11.html" title="stop_filtering()"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">start_filtering()</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15s09.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;15.&#160;Kernel Demux API</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch15s11.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1131034652"></a>start_filtering()</h2></div></div></div><p>DESCRIPTION
2</p><div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td align="char">
3<p>Starts filtering sections on this section feed, according to its settings. Sections
4 are first filtered based on their PID and then matched with the section
5 filters allocated for this feed. If the section matches the PID filter and
6 at least one section filter, it is delivered to the API client. The section
7 is delivered asynchronously using the callback function registered with
8 allocate_section_feed().</p>
9</td></tr></tbody></table></div><p>SYNOPSIS
10</p><div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td align="char">
11<p>int start_filtering ( dmx_section_feed_t&#8902; feed );</p>
12</td></tr></tbody></table></div><p>PARAMETERS
13</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><tbody><tr><td align="char">
14<p>dmx_section_feed_t*
15 feed</p>
16</td><td align="char">
17<p>Pointer to the section feed API and instance data.</p>
18</td></tr></tbody></table></div><p>RETURNS
19</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><tbody><tr><td align="char">
20<p>0</p>
21</td><td align="char">
22<p>The function was completed without errors.</p>
23</td></tr><tr><td align="char">
24<p>-EINVAL</p>
25</td><td align="char">
26<p>Bad parameter.</p>
27</td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch15s09.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="dvb_kdapi.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch15s11.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">release_filter()&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;stop_filtering()</td></tr></table></div></body></html>
28