GNOME Bugzilla – Bug 159986
[PATCH] Videorate doesn't handle seek and doesn't reset when going from PAUSED to READY
Last modified: 2004-12-22 21:47:04 UTC
The videorate element doesn't reset itself when going from GST_STATE_PAUSED to GST_STATE_READY and it doesn't handle GST_EVENT_SEEK.
Created attachment 34329 [details] [review] Patch to make videorate reset when going from PAUSED to READY, handle src SEEK events properly, and forward events at the good time Patch to solve the problem
confirming bug, setting as blocker for first pitivi release, adding PATCH keyword
Is this patch -R or so? It looks totally weird to me.
I just noticed, it is :( Do you want a normal version ?
Created attachment 34896 [details] [review] correct patch Here's the patch made in the correct order.
Repeat of what I said on IRC: don't calculate next timestamps in a SEEK event, but in a DISCONT event. Seeks are not necessarily exact, and seeks are not necessarily synchronous. Once that's fixed, I'll apply it.
Created attachment 35000 [details] [review] discont and reset handling patch for videorate The patch now resets itself with GST_EVENT_DISCONTINUOUS on sinkpad and not GST_EVENT_SEEK on srcpad.
Created attachment 35001 [details] [review] Forwards the discont too It works better when I forward the handled discont event :)
Committed, thanks.