[Bug 728017] [regression]eos event could not be send out from gstrtpjitterbuffer.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 17 23:35:58 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728017
  GStreamer | gst-plugins-good | 1.2.3

zmafox changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |

--- Comment #2 from zmafox at gmail.com 2014-04-18 06:35:55 UTC ---
Hi:
I merged the commit to 1.2.3 branch but it does not resolved the issue.
Eos event was found about 5*5 seconds behind the last buffer.
However, rtp_jitter_buffer_is_buffering always returns TRUE and it will keeps
waiting the event.

Here is my solution:


static GstFlowReturn
handle_next_buffer (GstRtpJitterBuffer * jitterbuffer)
{
  GstRtpJitterBufferPrivate *priv = jitterbuffer->priv;
  GstFlowReturn result = GST_FLOW_OK;
  RTPJitterBufferItem *item;
  guint16 seqnum;
  guint32 next_seqnum;
  gint gap;

+  if(priv->eos)
+    return GST_FLOW_EOS;

  /* only push buffers when PLAYING and active and not buffering */
  if (priv->blocked || !priv->active ||
      rtp_jitter_buffer_is_buffering (priv->jbuf))
    return GST_FLOW_WAIT;

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list