Hi,<br>I am writing wma parser and decoder plugin.Normal playing and seeking are working properly in rhythmbox player.<br><br>while i seek after pause it coming to seek event but it not returning from the "gst_pause_task" function call.<br>
<br>below is my my seek function code<br><br><br>{<br>gst_event_parse_seek (event, &rate, &format, &flags,<br>
&cur_type, &cur, &stop_type, &stop);<br>
<br><div id=":5j"><br>
gst_pad_pause_task (filter->sinkpad);<br>
printf("flush start \n");<br>
flush_event = gst_event_new_flush_start ();<br>
res = gst_pad_push_event (filter->srcpad, flush_event);<br>
<br>
//gst_pad_pause_task (filter->sinkpad);<br>
/***************/<br>
dec_time = cur/1000000;<br>
<br>
rc = gst_WMAFileSeek(filter->pASFHandle,dec_time,&actual_time);<br>
<br>
flush_event = gst_event_new_flush_stop ();<br>
res = gst_pad_push_event (filter->srcpad, flush_event);<br>
/****************/<br>
<br>
new_event= gst_event_new_new_segment (FALSE, 1, GST_FORMAT_TIME,(gint64)actual_time*1000000,filter->total_time ,<br>
(gint64)actual_time*1000000);<br>
<br>
res = gst_pad_push_event (GST_PAD_CAST (filter->srcpad), new_event);<br>
<br>
<br>
gst_pad_start_task (filter->sinkpad, (GstTaskFunction) gst_wma_parser_loop,<br>
filter->sinkpad);<br>
<br> <br>
}<br>
</div><br><br>Can any one give me solution for this problem.<br><br><br>Regards,<br>Vijay P<br>