GNOME Bugzilla – Bug 339214
move reset of caps-nego from ready->pause to pause->ready
Last modified: 2006-05-09 13:24:57 UTC
Attached is tiny patch where the resetting of caps nego flag is moved from "ready->pause" state change to "pause->ready" state change. This is because when streaming e.g. audio files, the caps nego is done after the basetransform element is created and when it goes to play state (through pause), the caps flag was reset. Do you think that moving the reset of the flag between the state changes could cause any problems?
Created attachment 63988 [details] [review] move the caps-nego patch by: Antti Viinikka
I can't see how this would help, no dataflow is supposed to happen in READY anyway. Are you sure you are not feeding data to the element in the READY state? The later does not currently fail in core because new pads are not set to the flushing state (this is a bug we cannot fix yet due to a lot of regressions, see #339326).
Ping?
The element is now put to pause state before dataflow is started, so the patch is now obsolete and original problem doesn't occur anymore.