<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<!-- Template generated by  on 01:46:54 Tuesday, 21 November 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using a GstURIDecodeBin to access an HTTP MJPEG IP video source.  The source sends the first few frames as 800x600 (a black splash screen) JPEG images and then sends the live data as 352x288.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When the first frame is decoded I link a GstVaapiPostproc element with the GstURIDecodeBin and the vaapipostproc sink caps are negotiated with the vaapidecode elements src caps as 800x600.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When the JPEG images change size, the sink caps of the vaapidecode element receive a GST_EVENT but this does not propagate to any of the downstream elements.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m assuming that the sink of the vaapipostproc element would need to renegotiate with the src of the vaapidecode element?  Is that correct?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have connected a notify::caps signal handler to the sink pad of the vaapidecode element however I’m not sure of the best way of getting the downstream elements to renegotiate.  What is the best way of achieving this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Danny<o:p></o:p></p>
</div>
<br>
<table class="ImprintUniqueIDTable" style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="HEIGHT: 51px; LINE-HEIGHT: 20px"><font style="font-family:Corbel;font-size:12pt;color:#17365D;font-weight:bold;">Danny Cullen</font><br>
<font style="font-family:Corbel;font-size:10pt;color:#17365D;">Software Team Leader</font></td>
</tr>
<tr>
<td style="HEIGHT: 90px"><a href="http://www.datapath.co.uk/" target=""><img width="200" height="56" style="border: 0px Solid ; " src="cid:image7ef3c6.JPG@ddf312da.45b67f49" alt="Datapath"></a></td>
</tr>
<tr>
<td style="HEIGHT: 35px; LINE-HEIGHT: 20px"><font style="font-family:Corbel;font-size:10pt;color:#002060;">Bemrose House, Bemrose Park, Wayzgoose Drive</font><font style="font-family:Corbel;font-size:10pt;color:#002060;">,
</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">Derby</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">,
</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">DE21 6XQ</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">,
</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">United Kingdom</font><br>
<font style="font-family:Corbel;font-size:10pt;color:#17365D;">T: </font><font style="font-family:Corbel;font-size:10pt;color:#17365D;">+44 (0)1332 294 441</font><font style="font-family:Corbel;font-size:10pt;color:#17365D;"> |
</font> <span style="font-family:Corbel;font-size:10pt;color:#0070C0;text-decoration:underline;"><a href="http://www.datapath.co.uk" title="" target="" style="font-family:Corbel;font-size:10pt;color:#0070C0;text-decoration:underline;"><span style="font-family:Corbel; font-size:10pt; color:#0070C0; text-decoration:underline;">www.datapath.co.uk</span></a></span><font style="font-family:Corbel;font-size:10pt;color:#0070C0;text-decoration:underline;"> </font></td>
</tr>
<tr>
<td style="HEIGHT: 119px"><a href="http://ow.ly/a4cH300zbGd" target=""><img align="Middle" src="cid:image2ff1f1.JPG@b9e5fd08.4188341e" title="Fx4 wall controller (www.datapath.co.uk/fx4)" alt="Fx4 wall controller (www.datapath.co.uk/fx4)"></a></td>
</tr>
<tr>
<td style="HEIGHT: 20px"><font color="#bfbfbf" size="1" face="Corbel">Datapath Ltd.  Registered Number: 1609392.  Registered in England at Bemrose House, Bemrose Park, Wayzgoose Drive, Derby. DE21 6XQ.</font></td>
</tr>
<tr>
<td style="HEIGHT: 21px"></td>
</tr>
</tbody>
</table>
<br>
</body>
</html>