<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (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:"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;}
@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;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
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.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.returnvalue
{mso-style-name:returnvalue;}
span.cpunctuation
{mso-style-name:c_punctuation;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]-->
<style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi gstreamers,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">i’m facing a little problem regarding the stopping/resuming of my camera stream with gstreamer. When I restart the stream by a transition from GST_STATE_PLAYING (1) -> GST_STATE_PAUSING (2) ->GST_STATE_ PLAYING (3), the
stream contains the last frames from (1).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a proper way to clear the pipeline? I don’t want to see any old frames when I restart my stream.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve also tried to send flushing events, but without success. I did this by sending the events gst_event_new_flush_start() and gst_event_new_flush_stop().<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My pipeline looks like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US">udpsrc </span>
<span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">port=55555 caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96\"
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! rtph264depay
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! avdec_h264
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! decodebin
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! videoconvert
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! glupload
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#F6F6F6">! appsink</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Advice is welcome.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Michael<o:p></o:p></span></p>
</div>
<br>
<div style="background-color:#FFFFFF"><br>
<span style="font-size:14pt; font-family:'times new roman','garamond',serif; color:#000000;">Bitte beachten / Please note!</span><br>
<div style="font-size:12pt; line-height:10pt; font-family:'times roman',serif;"><br>
*******************************************************************************
<p>AGCO GmbH<br>
Sitz der AGCO GmbH: Johann-Georg-Fendt-Str.4, 87616 Marktoberdorf, Germany<br>
Registergericht Amtsgericht Kempten HRB 10327<br>
Geschäftsführer: Christoph Groeblinghoff, Ingrid Bussjaeger-Martin, Dr. Heribert Reiter, Ekkehart Glaeser<br>
Vorsitzender des Aufsichtsrates: Torsten Dehner<br>
</p>
*******************************************************************************
<p>Diese E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches<br>
bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht<br>
oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder<br>
Meinung von AGCO dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich
<br>
erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher<br>
Druck dieser E-Mail ist strengstens untersagt. Weder AGCO noch der Absender übernehmen die
<br>
Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren angehängte
<br>
Dateien (sofern vorhanden) auf Viren zu überprüfen.<br>
</p>
*******************************************************************************
<p>This email is intended solely for the use of the individual to whom it is addressed and may contain<br>
confidential and/or privileged material. Any views or opinions presented are solely those of the<br>
author and do not necessarily represent those of AGCO. If you are not the intended recipient, be<br>
advised that you have received this email in error and that any use, dissemination, forwarding,<br>
printing or copying of this email is strictly prohibited. Neither AGCO nor the sender accepts any<br>
responsibility for viruses and it is your responsibility to scan and virus check the email and its<br>
attachment(s) (if any).<br>
</p>
******************************************************************************* </div>
</div>
<br>
This email is intended solely for the use of the individual to whom it is addressed and may contain confidential and/or privileged material. Any views or opinions presented are solely those of the author and do not necessarily represent those of AGCO. If you
are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. Neither AGCO nor the sender accepts any responsibility for viruses
and it is your responsibility to scan and virus check the e-mail and its attachment(s) (if any).
<br><br><p style="font-family: Verdana; font-size:10pt; color:#666666;"><b> </b></p><p style="font-family: Verdana; font-size:8pt; color:#666666;"><br><br> </p></body></html>