<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,
<br>
<br>
I have a camera that under linux does not work with V4L2, but it uses a proprietary API.<br>
<br>
I want to wrap that API in a gstreamer plugin, so that I can use the captured frames with all the other gstreamer elements.<br>
<br>
Here are my questions:<br>
<ol>
<li>is there an example of a source that I can study? the GStreamer Plugin Writer's Guide refers to GstBaseSrc, but I am not able to  understand chapter 23 well</li><li>what is the difference between finalize and dispose? Which one should I use when I close the pipeline to free my resources?</li><li>if I have an error during the init function, what's the best way to fail?</li><li>In the reference software that I have for my system , there is a loop that gets frames from the hardware. In which function do I have to put this code?<br>
</li></ol>
<div><br>
Thank you for your help,<br>
<br>
Ottavio<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<table style="border-collapse:collapse" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:'Calibri','sans-serif'" align="left" valign="center" width="113">
--<br>
<a href="http://www.videotec.com/"><img src="http://videotec-admin.forza6.com/dep/Videotec_logo_firma_email.png" alt="Videotec_logo_firma_email.png" height="76" border="0" width="97">
</a></td>
<td style="padding:0cm 0cm 0cm 0cm" valign="top" width="652">
<p style="margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:'Calibri','sans-serif'">
<b><br>
</b></p>
<p style="margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:'Calibri','sans-serif'">
<b>Ottavio Campana</b> <br>
<i>Team Leader - Electronic R&D Department</i> <br>
<br>
<font color="red">Office </font>+39.0445.697.411 <font color="red"> Fax </font>+39.0445.697.414
<br>
<font color="red">Address </font> VIDEOTEC S.p.A. - Via Friuli, 6 - 36015 Schio (Vicenza) - Italy  
</p>
</td>
</tr>
</tbody>
</table>
<br>
<i>Any information herein transmitted only concerns the person or the company named in the address and is deemed to be confidential It is strictly forbidden to transmit, post, forward or otherwise use said information to anyone other than the recipient. If
 you have received this message by mistake, please contact the sender and delete any relevant information from your computer. This mailbox is only meant for sending and receiving messages pertaining business matters and any other use for personal purposes is
 forbidden and unauthorized. Therefore, any email sent and received will be handled as ordinary business messages and subject to the company's own rules, and may thus be read also by people other than the user named in the mailbox address.
</i><br>
<br>
<a href="http://twitter.com/videotec"><img class="conbzjtdzfgsuypyrswh" src="http://videotec-admin.forza6.com/dep/Twitter_logo_blue.png" height="28" border="0" width="28"></a>   
<a href="http://www.youtube.com/user/videotecspa"><img src="http://videotec-admin.forza6.com/dep/Youtube_logo_red.gif" height="28" border="0" width="28"></a></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>