<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Please note — posting for a colleague - code snippets attached — thanks for any assistance in advance:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">I'm trying to write a program using appsrc to include klv data with live video and audio in a .ts stream.</div><div class=""><br class=""></div><div class="">I had already written a pipeline using gst-launch that takes the live video and audio and puts in in a .ts stream and have that built and working in the program.  Un-defining 'DO" on line 309 disables the klv references and the program runs.  Defining 'DO' includes the klv parts and that is when it does not stream.</div><div class=""><br class=""></div><div class="">I've basically copied the appsrc bits from basic-tutorial-8 into my program but it does not seem to work.  What it looks like, to me, is that the part that generates the data - 'start feed' - is never called.  It does not generate any errors - it just does not 'run'.</div><div class=""><br class=""></div><div class="">I've added debugging and found some errors which I have fixed. At this point, when I run my program and basic-tutorial-8, all messages are the 'same' (mine reference klv_source, tutorial 8, audio) with no other messages.  It is just the tutorial calls the 'Start feeding' routine and 'runs' and mine does not.</div><div class=""><br class=""></div><div class="">From what I can tell, the code, after linking, is exactly the same for the tutorial and my program.  <b class="">I'm hoping someone can explain what it is I am doing wrong.</b></div><div class=""><br class=""></div><div class="">Attached are my code and my modified version of Tutorial 8 to show the debugging.</div><div class=""><br class=""></div><div class="">Please note that I do understand nothing 'useful' is going on with the 'klv data' I am generating in 'push_data'.  Since the routine does not seem to even be called, I stripped it down so I can concentrate on getting it to run.  Once it is being called, I will worry about how to actually send the data I need.</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class=""></div></blockquote></body></html>