<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I am having troubles to port a plugin from 0.10 to 1.2.0. Basically, this plugin decrypts audio data fetched by souphttpsrc, and it is working well in 0.10. <br>
<br></div>Currently in 1.2.0, I am able to add a playbin and a sink to a pipeline, and all necessary elements seem to be identified correctly. I am also able to set the pipeline's state to "GST_STATE_PAUSED" and then to "GST_STATE_PLAYING". However, there is no audio output in the GST_STATE_PLAYING state. I have tried to examine the debug outputs. Here are the findings:<br>
<br></div>1. No GstBuffer activities when the pipeline is in GST_STATE_PLAYING state. There is some GstBuffer activities before that, and souphttpsrc is able to fetch some data before entering GST_STATE_PLAYING state too.<br>
<br></div>2. I am seeing query activities when the pipeline is in GST_STATE_PLAYING state.<br><br></div>3. The application cannot get duration and position: <br>"playbin gstplaybin2.c:2654:gst_play_bin_query:<playbin> Taking cached duration because of pending group switch: 1"<br>
<br></div>4. I am seeing the following message when the pipeline's state is changed to GST_STATE_PLAYING: <br>"gst_segment_to_stream_time: assertion 'segment->format == format' failed"<br><br></div>
5. "seekable" query result is false. It used to be true in 0.10.<br><br></div>Does anybody know what might be wrong? Any guesses are welcome. I can post more specific information if needed.<br><br></div>Regards,<br>
<br>LM<br><div><div><div><br></div></div></div></div>