<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal">I want to get an advice about how to build pipeline of video playback with SRT/Closed Caption subtitles. Is it possible to have a number of instances of appsink in one pipeline or it can cause some collision between them?</p>
<p class="MsoNormal">For instance I thought about something like this:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Src-&gt;[demux/avdecoder]-&gt;appsink1 and in parallel srtsrc-&gt;appsink1 all in single pipeline. Or for Closed Caption Src-&gt;[demux/avdecoder]-&gt;appsink1 and another pad for Closed Caption [demux/avdecoder]-&gt;appsink that is connected to another
 appsnk1.</p>
<p class="MsoNormal">I saw some inconsistences during the state changes where appsink1 is moved to proper state where appsink2 didn&#8217;t, so I thought that it is not possible to have 2 instances of appsink in one pipeline.</p>
<p class="MsoNormal">Is it possible to have 2 input pad in appsink?</p>
<p class="MsoNormal">Thanks in advance.</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data
 may be monitored by NDS for employment and security purposes.<br>
To protect the environment please do not print this e-mail unless necessary.<br>
<br>
An NDS Group Limited company. www.nds.com<br>
</font>
</body>
</html>