Timestamp of the input-selector goes back when active pad is changed.

Cheol Park daeji77 at gmail.com
Wed Dec 10 17:00:37 PST 2014


cache-buffers is set to False. I also confirmed that most of the buffers in
the inactive pads are dropped through log messages as following:

0:00:00.375913141 27317      0x29882d0 DEBUG         input-selector
gstinputselector.c:971:gst_selector_pad_chain:<selector_final:sink_1>
entering chain for buf 0x7f67d8023850 with timestamp 0:00:00.334412144
0:00:00.375961628 27317      0x29882d0 LOG           input-selector
gstinputselector.c:980:gst_selector_pad_chain:<selector_final:sink_1>
getting active pad
0:00:00.375987930 27317      0x29882d0 LOG           input-selector
gstinputselector.c:1044:gst_selector_pad_chain:<selector_final:sink_1>
received start time 0:00:00.334412144
0:00:00.376024575 27317      0x29882d0 LOG           input-selector
gstinputselector.c:1047:gst_selector_pad_chain:<selector_final:sink_1>
received end time 0:00:00.367745477
0:00:00.376032410 27317      0x29882d0 DEBUG         input-selector
gstinputselector.c:1131:gst_selector_pad_chain:<selector_final:sink_1> Pad
not active, discard buffer 0x7f67d8023850



On Wed, Dec 10, 2014 at 4:17 PM, Sérgio Agostinho <
sergio.r.agostinho at gmail.com> wrote:

> The input-selector is able to cache buffers so that you don't lose any
> data on the inactive pad. Can you confirm that the buffers of the inactive
> pad are being dropped?
>
> Sérgio
>
> > On 10 Dec 2014, at 23:15, Cheol Park <daeji77 at gmail.com> wrote:
> >
> > Hi,
> >
> > I am trying to multiplex multiple RTP input streams by using an
> input-selector. When the active sink pad is changed, the timestamp of the
> discont buffer is sometimes slightly less than the timestamp of the last
> forwarded buffer from the previous active sink pad. Is this an expected
> behavior or a bug?
> >
> > This causes a problem downwards in the pipeline when the output is
> encoded as H.264. What will be solutions for this issue?
> >
> > Regards,
> >
> > Cheolho
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141210/411cb2b6/attachment.html>


More information about the gstreamer-devel mailing list