<div>Hi,<br>I received TI&#39;s port of gstreamer to it&#39;s DaVinci processors from <a href="http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100">http://focus.ti.com/dsp/docs/dspsplash.tsp?contentId=3100</a><br>&nbsp;<br>
I&#39;ve tried to run the example (scripts) provided by TI and I&#39;ve faced what seem to be two separate issues.<br>I&#39;ve copied the stdout log below:<br>&nbsp;<br>&lt;linux prompt&gt;:/opt/system_files_gstreamer# ./test_MP3.sh MP3_file.mp3<br>
Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>(gst-launch-0.10:1204): GStreamer-WARNING **: pad adecoder0:src returned caps which are not a real subset of its template caps<br>(gst-launch-0.10:1204): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `index &lt; caps-&gt;structs-&gt;len&#39; failed<br>
(gst-launch-0.10:1204): GStreamer-CRITICAL **: gst_structure_get_int: assertion `structure != NULL&#39; failed<br><br>[program hangs here]</div>
<div>&nbsp;</div>
<div>For most of you, who&nbsp;don&#39;t know about this script: All it does is after setting the gstreamer, plugin and library paths, it runs gst-launch with a pipeline, thus: gst-launch-0.10 filesrc location=$1 ! adecoder Codec=3 ! osssink<br>
<br>The two issues I&#39;m facing:</div>
<div>(a) The *last* element in the gstreamer pipeline does not reply with a message to the app saying it has paused (This is ascertained with debug prints that I inserted in gst-launch.c. It&#39;s possible that for some reason, the element does not pause. I&#39;ve faced this same issue with pipelines which have no decode/render elements as well.) Actually, I&#39;m not sure if (a) it doesn&#39;t pause because it doesn&#39;t finish preroll or (b) it says it hasn&#39;t finished preroll because it doesn&#39;t send a pause signal! (I&#39;m not sure which is the cause and which is the effect).</div>

<div><br>(b) The critical errors printed (seen above. I guess these are caused because of TI&#39;s mp3 decoder element plugin.) Could the adecoder capabilities be incompatible? Seems unlikely, since TI would have tested this first.<br>
<br><br>Would anyone know what the issue might be? Has anyone seen a similar issue with gstreamer?<br>I&#39;d greatly appreciate any help.</div>
<div>Thanks.<br><br><br>Vijay</div>