rawparse: Reset negotiation state when going back to READY

After going back to READY we can accept new format settings again.
This commit is contained in:
Sebastian Dröge 2014-08-28 11:37:56 +03:00
parent 04ca723461
commit 25b5da587d

View file

@ -202,6 +202,7 @@ gst_raw_parse_reset (GstRawParse * rp)
{
rp->n_frames = 0;
rp->discont = TRUE;
rp->negotiated = FALSE;
gst_segment_init (&rp->segment, GST_FORMAT_TIME);
gst_adapter_clear (rp->adapter);