Hi,<div><br></div><div>I would like to force ac3parse to resync (see gst_ac3_parse_check_valid_frame, sync word) somewhere in the stream.</div><div><br></div><div>I looked into GstBaseParse code and it seems to depend on "parse->priv->discont".</div>
<div> </div><div>And it seems there are 2 ways:</div><div><br></div><div>* call gst_element_set_state(ac3parse, GST_ELEMENT_READY) to call "gst_base_parse_reset" to set discont to TRUE. (then back to PLAYING)</div>
<div>* push a GST_EVENT_FLUSH_STOP on the source pad connected to the sink pad of ac3parse.</div><div><br></div><div>But those 2 solutions are also reseting every stuffs in ac3parse whereas I just would like to resync. (I would like to make GST_BASE_PARSE_FLAG_LOST_SYNC return TRUE).</div>
<div><br></div><div>Is it already possible ? Or it needs some dev ?</div><div><br></div><div>Sincerely</div><div>Julien</div><div><br></div><div><br></div>