<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
@font-face
        {font-family:Pristina;
        panose-1:3 6 4 2 4 4 6 8 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Palatino Linotype";
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Palatino Linotype";
        color:purple;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1 style='layout-grid:15.6pt'>

<p class=MsoNormal><font size=2 color=purple face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:purple'>Excuse
me for sending it again. Hope somebody can help.<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left'><font size=2
face="Times New Roman"><span lang=EN-US style='font-size:10.5pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>Hi,
Dear developers<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>I&#8217;m
encountering a problem when I trying to send a seek event to the sink pad of a
self written sink (just call it mysink) which is derived from GstBaseSink<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>It
looks like the event handler even doesn&#8217;t response to the seek event.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>I
think the issues may due to the event direction mechanism of GStreamer. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>So,
</span></font><font size=2 color=red face="Palatino Linotype"><span lang=EN-US
style='font-size:10.0pt;font-family:"Palatino Linotype";color:red'>my question
is</span></font><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>,
is it possible to send a seek event to the sink pad of a sink, and let it
create a seek event send to upstream?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=red face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:red'>My
goal is</span></font><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>:
send a seek event which contains time_cur-&gt;time_stop info to mysink, and
mysink will handle it and tell upstream filesrc to seek to new location.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>Thanks
for your response!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
lang=EN-US style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>Best Regards, Zheng,
Huan(ZBT)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>OTC/SSD/SSG<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>Intel Aisa-Pacific
Research &amp; Developement Ltd<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>Tel: 021-6116 6435<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>Inet: 8821 6435</span></font><font
color=navy face=&#23435;&#20307;><span lang=EN-US style='font-family:SimSun;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Pristina><span lang=EN-US
style='font-size:10.5pt;font-family:Pristina;color:navy'>Cub: 3W035</span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>