<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimHei;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimHei;
        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;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:17.0pt;
        margin-right:0cm;
        margin-bottom:16.5pt;
        margin-left:53.75pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-21.6pt;
        line-height:240%;
        page-break-after:avoid;
        mso-list:l1 level1 lfo2;
        font-size:22.0pt;
        font-family:"Times New Roman";}
h2
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:0cm;
        line-height:173%;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial;}
h3
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:68.15pt;
        text-indent:-36.0pt;
        line-height:173%;
        page-break-after:avoid;
        mso-list:l1 level3 lfo2;
        font-size:16.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.StyleHeading1Left1ch, li.StyleHeading1Left1ch, div.StyleHeading1Left1ch
        {margin-top:17.0pt;
        margin-right:0cm;
        margin-bottom:16.5pt;
        margin-left:21.25pt;
        text-indent:-21.25pt;
        line-height:240%;
        page-break-after:avoid;
        mso-list:l2 level1 lfo3;
        font-size:22.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.List7, li.List7, div.List7
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.List8, li.List8, div.List8
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:21.0pt;
        margin-bottom:.0001pt;
        text-indent:-21.0pt;
        mso-list:l0 level1 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.StyleHeading2Firstline2ch, li.StyleHeading2Firstline2ch, div.StyleHeading2Firstline2ch
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:60.95pt;
        text-indent:-28.8pt;
        line-height:173%;
        page-break-after:avoid;
        mso-list:l1 level2 lfo2;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
p.StyleFirstline074cm, li.StyleFirstline074cm, div.StyleFirstline074cm
        {margin-top:5.0pt;
        margin-right:0cm;
        margin-bottom:2.5pt;
        margin-left:0cm;
        mso-para-margin-top:1.0gd;
        mso-para-margin-right:0cm;
        mso-para-margin-bottom:.5gd;
        mso-para-margin-left:0cm;
        text-indent:21.0pt;
        text-autospace:none;
        font-size:10.0pt;
        font-family:"Times New Roman";}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1249470;
        mso-list-type:hybrid;
        mso-list-template-ids:484456656 -1587220538 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:"List 8";
        mso-level-text:\F0FC;
        mso-level-tab-stop:21.0pt;
        mso-level-number-position:left;
        margin-left:21.0pt;
        text-indent:-21.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:105731748;
        mso-list-template-ids:-580499146;}
@list l1:level1
        {mso-level-style-link:"Heading 1";
        mso-level-text:%1;
        mso-level-tab-stop:53.75pt;
        mso-level-number-position:left;
        margin-left:53.75pt;
        text-indent:-21.6pt;}
@list l1:level2
        {mso-level-style-link:"Style Heading 2 + First line\:  2 ch";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:60.95pt;
        mso-level-number-position:left;
        margin-left:60.95pt;
        text-indent:-28.8pt;}
@list l1:level3
        {mso-level-style-link:"Heading 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:68.15pt;
        mso-level-number-position:left;
        margin-left:68.15pt;
        text-indent:-36.0pt;}
@list l1:level4
        {mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:75.35pt;
        mso-level-number-position:left;
        margin-left:75.35pt;
        text-indent:-43.2pt;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:82.55pt;
        mso-level-number-position:left;
        margin-left:82.55pt;
        text-indent:-50.4pt;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:89.75pt;
        mso-level-number-position:left;
        margin-left:89.75pt;
        text-indent:-57.6pt;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:96.95pt;
        mso-level-number-position:left;
        margin-left:96.95pt;
        text-indent:-64.8pt;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:104.15pt;
        mso-level-number-position:left;
        margin-left:104.15pt;
        text-indent:-72.0pt;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:111.35pt;
        mso-level-number-position:left;
        margin-left:111.35pt;
        text-indent:-79.2pt;}
@list l2
        {mso-list-id:1739015857;
        mso-list-template-ids:-1907050734;}
@list l2:level1
        {mso-level-style-link:"Style Heading 1 + Left\:  1 ch";
        mso-level-text:%1;
        mso-level-tab-stop:21.25pt;
        mso-level-number-position:left;
        margin-left:21.25pt;
        text-indent:-21.25pt;}
@list l2:level2
        {mso-level-text:"%1\.%2";
        mso-level-tab-stop:49.6pt;
        mso-level-number-position:left;
        margin-left:49.6pt;
        text-indent:-1.0cm;}
@list l2:level3
        {mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:70.9pt;
        mso-level-number-position:left;
        margin-left:70.9pt;
        text-indent:-1.0cm;}
@list l2:level4
        {mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:99.2pt;
        mso-level-number-position:left;
        margin-left:99.2pt;
        text-indent:-35.4pt;}
@list l2:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:127.55pt;
        mso-level-number-position:left;
        margin-left:127.55pt;
        text-indent:-42.5pt;}
@list l2:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:163.0pt;
        mso-level-number-position:left;
        margin-left:163.0pt;
        text-indent:-2.0cm;}
@list l2:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:191.35pt;
        mso-level-number-position:left;
        margin-left:191.35pt;
        text-indent:-63.8pt;}
@list l2:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:219.7pt;
        mso-level-number-position:left;
        margin-left:219.7pt;
        text-indent:-70.9pt;}
@list l2:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:255.1pt;
        mso-level-number-position:left;
        margin-left:255.1pt;
        text-indent:-85.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>

</head>

<body lang=ZH-CN link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=&#23435;&#20307;><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun'>Try to block the
upstream src pad before you link/unlink.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=&#23435;&#20307;><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=&#23435;&#20307;><span
style='font-size:10.0pt;font-family:SimSun'><a
href="http://www.sfr-fresh.com/unix/privat/gstreamer-0.10.22.tar.gz:a/gstreamer-0.10.22/docs/design/part-block.txt"><span
lang=EN-US>http://www.sfr-fresh.com/unix/privat/gstreamer-0.10.22.tar.gz:a/gstreamer-0.10.22/docs/design/part-block.txt</span></a></span></font><font
size=2 face=&#23435;&#20307;><span lang=EN-US style='font-size:10.0pt;
font-family:SimSun'><o:p></o:p></span></font></p>

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

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

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Sumanth V [mailto:sumanth.v@allaboutif.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 2009</span></font><font
size=2 face=&#23435;&#20307;><span style='font-size:10.0pt;font-family:SimSun'>Äê</span></font><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>3</span></font><font
size=2 face=&#23435;&#20307;><span style='font-size:10.0pt;font-family:SimSun'>ÔÂ</span></font><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>6</span></font><font
size=2 face=&#23435;&#20307;><span style='font-size:10.0pt;font-family:SimSun'>ÈÕ</span></font><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
3:37<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Discussion
 of the development of GStreamer</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [gst-devel] channel
changing dvbsrc plugin</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

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

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Hi All,<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am
writing a application using a dvbsrc plugin to play the incoming TV channels.
How do i change the channels with out stopping the application? Right now i am
doing it by changing the es-pid property of the mpegtsdemux plugin, i am able
to to change the channels, but as soon as i change the channel , the video is
getting freezed, its not playing. but i can change the channles. As soon as i
shift to next channel, the video is getting freezed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For the first time when i
start the application it plays which ever channel i have selected, but later
when i try to change the channels , the video is getting freezed.<br>
<br>
The method i am using to change the channel is :-<br>
&nbsp;* when i want to change a channel, i set the pipeline to READY state and
tune to a channel which i want to play and the set the &quot;es-pid&quot;
property of the<br>
&nbsp;&nbsp;&nbsp; mpegtsdemux plugin to the pid of the channel which i want to
play.<br>
&nbsp;* Set the pipeline back to PLAYING state.<br>
&nbsp;* When the mpegtsdemux plugin generates a new pad for the new channel , i
unlink the previous linked queue pad to the mpegtsdemux and then link to the
new pad.<br>
<br>
&nbsp;the pipeline is<br>
&nbsp;gst-launch dvbsrc diseqc-source=0 frequency=10990000 symbol-rate=27500
polarity=&quot;v&quot; code-rate-hp=3/4 ! mpegtsdemux ! queue ! mpeg2dec !
ffmpegcolorspace ! xvimagesink<br>
<br>
&nbsp;Where am i going wrong here? Why is the video of the new channel&nbsp;
getting freezed??<br>
<br>
regards,<br>
Sumanth<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>