<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 http-equiv=Content-Type content="text/html; charset=gb2312">
<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="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<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:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:黑体;
        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:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@黑体";
        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:宋体;}
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";
        font-weight:bold;}
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;
        font-weight:bold;}
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:宋体;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;}
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:宋体;}
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:宋体;}
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:宋体;}
span.EmailStyle23
        {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=blue>
<div class=Section1>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>Refer to the following
link:<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'><a
href="http://farsight.sourcearchive.com/documentation/0.1.10-2/rtpstream_8c-source.html">http://farsight.sourcearchive.com/documentation/0.1.10-2/rtpstream_8c-source.html</a><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> </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'>Some actions need to be
done in callback function.<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> </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> </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=宋体><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><span style='font-size:10.0pt'>年</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><span style='font-size:10.0pt'>月</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><span style='font-size:10.0pt'>日</span></font><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma'> 20:40<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> Re: [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=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face=宋体><span
lang=EN-US style='font-size:12.0pt'>hi all,<br>
<br>
Thanks halley, I tried
blocking the source pad of the mpegtsdemux but it dint work. What ia happening
is , when i set the state of <br>
the pipeline to READY , the mpegtsdemux removes its source pad which was linked
to the sink of queue. So when i check for GST_PAD_IS_LINKED on the sink pad of
the queue it return FALSE. So i directly link the sink of queue to the newly
emitted source pad of the mpegtsdemux. I checked for the result of the
gst_pad_link(srcpad, sinkpad); It is returning GST_PAD_LINK_OK.<br>
Why is the video getting freezed? <br>
<br>
regards,<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face=宋体><span lang=EN-US style='font-size:12.0pt'>2009/3/6
Zhao, Halley <<a href="mailto:halley.zhao@intel.com">halley.zhao@intel.com</a>><o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=宋体><span lang=EN-US style='font-size:10.0pt'>Try to block
the upstream src pad before you link/unlink.</span></font><span lang=EN-US><o:p></o:p></span></p>
<p><font size=2 face=宋体><span lang=EN-US style='font-size:10.0pt'> </span></font><span
lang=EN-US><o:p></o:p></span></p>
<p><font size=2 face=宋体><span lang=EN-US style='font-size:10.0pt'><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"
target="_blank">http://www.sfr-fresh.com/unix/privat/gstreamer-0.10.22.tar.gz:a/gstreamer-0.10.22/docs/design/part-block.txt</a></span></font><span
lang=EN-US><o:p></o:p></span></p>
<p><font size=1 color=navy face=Arial><span lang=EN-US style='font-size:9.0pt;
font-family:Arial;color:navy'> </span></font><span lang=EN-US><o:p></o:p></span></p>
<p><font size=1 color=navy face=Arial><span lang=EN-US style='font-size:9.0pt;
font-family:Arial;color:navy'> </span></font><span lang=EN-US><o:p></o:p></span></p>
<div style='border:none;border-left:solid windowtext 1.5pt;padding:0cm 0cm 0cm 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>
<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;font-family:
"Times New Roman"'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><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:<a href="mailto:sumanth.v@allaboutif.com" target="_blank">sumanth.v@allaboutif.com</a>]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> 2009</span></font><font
size=2><span style='font-size:10.0pt'>年</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><span style='font-size:10.0pt'>月</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><span style='font-size:10.0pt'>日</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>
<div>
<div>
<p><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
font-family:"Times New Roman"'> </span></font><span lang=EN-US><o:p></o:p></span></p>
<p><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
font-family:"Times New Roman"'>Hi All,<br>
<br>
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>
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>
* 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 "es-pid"
property of the<br>
mpegtsdemux plugin to the pid of the channel which i want to
play.<br>
* Set the pipeline back to PLAYING state.<br>
* 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>
the pipeline is<br>
gst-launch dvbsrc diseqc-source=0 frequency=10990000 symbol-rate=27500
polarity="v" code-rate-hp=3/4 ! mpegtsdemux ! queue ! mpeg2dec !
ffmpegcolorspace ! xvimagesink<br>
<br>
Where am i going wrong here? Why is the video of the new channel
getting freezed??<br>
<br>
regards,<br>
Sumanth<br>
<br>
</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face=宋体><span
lang=EN-US style='font-size:12.0pt'><br>
------------------------------------------------------------------------------<br>
Open Source Business Conference (OSBC), March 24-25, 2009, <st1:place w:st="on"><st1:City
w:st="on">San Francisco</st1:City>, <st1:State w:st="on">CA</st1:State></st1:place><br>
-OSBC tackles the biggest issue in open source: Open Sourcing the <st1:City
w:st="on"><st1:place w:st="on">Enterprise</st1:place></st1:City><br>
-Strategies to boost innovation and cut costs with open source participation<br>
-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>