GNOME Bugzilla – Bug 339013
[videorate] Goes into an infinite loop
Last modified: 2006-04-26 16:44:56 UTC
When videorate receives a buffer which is before the previous received buffer, it goes into an infinite loop. The problem is videorate should discard the incoming buffer if it is before the previous one. The attach patch solves the issue
Created attachment 63860 [details] [review] Patch to fix videorate This patch drops incoming buffers that are before previously received buffers.
*** Bug 338995 has been marked as a duplicate of this bug. ***
The patch is missing % signs before doing GST_TIME_FORMAT. why is this a blocker ? obviously something else is going wrong if buffers are sent in the wrong order, and it's not a regression afaict.
agreed, it's not a regression but a very critical bug, and it's only caused by an upstream element sending buffers in the wrong order. BUT, videorate going in an endless loop IS a major bug. It should gracefully handle that situation, not lockup the dataflow, and inform the user (possibly with a GST_MESSAGE_WARNING).
Created attachment 64329 [details] [review] Updated version I fixed the % issue in the debug string and also incremented the number of dropped buffer.
commited to head