mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
04ca723461
commit
25b5da587d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue