<html 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: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-compose;
        font-family:Arial;
        color:windowtext;}
 /* Page Definitions */
 @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>

</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=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>&#8216;caps&#8217; property are defined for
decodebin2/uridecodebin as &#8220;The caps on which to stop decoding. (NULL=
default)&#8221;. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>But I can&#8217;t find it for playbin2, I think we&#8217;d
better add it as well.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>I met issues for creating a customized sink for libva:
&#8216;video/x-raw-va&#8217;; my sink renders video frame as texture in Qt. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>When I set playbin2 &#8216;video-sink&#8217; to my
customized sink, decodebin2 doesn&#8217;t stop auto-plug (expose_pad) when it
comes to &#8216;video/x-raw-va&#8217; because decodebin2 doesn&#8217;t think &#8216;video/x-raw-va&#8217;
is a raw type.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>(by the way, the auto-plug stops when playbin2 finds
it comes to a sink; however this sink is not my customized sink. because my
sink requires many app context (OpenGL etc), it is similar to clutter-gst sink)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>I could fix the issue by adding &#8216;video/x-raw-va&#8217;
to DEFAULT_RAW_CAPS for uridecoderbin, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>But I think it should be the better solution to add &#8216;caps&#8217;
property for playbin2 as well.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Do you agree? Thanks.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-indent:20.1pt'><b><font size=2 color=blue face=Arial><span lang=FI
style='font-size:10.0pt;font-family:Arial;color:blue;font-weight:bold'>ZHAO,
Halley (Aihua)</span></font></b><span lang=FI><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-indent:20.1pt'><font size=2 color=blue face=Arial><span lang=FI
style='font-size:10.0pt;font-family:Arial;color:blue'>Email: halley.zhao</span></font><font
size=2 color=blue face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:blue'><a href="blocked::mailto:aihua.zhao@intel.com"
title="mailto:aihua.zhao@intel.com&#10;mailto:hui.xue@intel.com"><span lang=FI>@intel.com</span></a></span></font><font
color=blue><span lang=FI style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-indent:16.0pt'><font size=1 color=blue face=Arial><span lang=DA
style='font-size:8.0pt;font-family:Arial;color:blue'>Tel:
+86(21)61166476&nbsp;&nbsp; iNet: 8821-6476</span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-indent:16.0pt'><font size=2 color="#3366ff" face=Arial><span lang=DA
style='font-size:10.0pt;font-family:Arial;color:#3366FF'>SSG/OTC/Moblin 3W038
Pole: F4</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

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

</div>

</body>

</html>