How to avoid "Discont detected" message while pushing data using appsrc

Prabhakar Lad prabhakar.csengg at gmail.com
Thu Sep 18 08:59:43 PDT 2014


Hi,


On Wed, Sep 17, 2014 at 10:55 AM, roonie <mdzubair89 at yahoo.co.in> wrote:
>
> Iam continously pushing data using while loop using the pull method.
[Snip]
> While executing it, Video playback plays normally whereas i keep getting
> this below log
>
> Discont detected from 0:00:00.500000000 to 2:08:51.446400000
> Discont detected from 0:00:00.500000000 to 2:08:51.472522000
> Discont detected from 0:00:00.500000000 to 2:08:51.498644000
> Discont detected from 0:00:00.500000000 to 2:08:51.524766000
> Discont detected from 0:00:00.500000000 to 2:08:51.550888000
> Discont detected from 0:00:00.500000000 to 2:08:51.577011000
> Discont detected from 0:00:00.500000000 to 2:08:51.603133000
> Discont detected from 0:00:00.500000000 to 2:08:51.629255000
> Discont detected from 0:00:00.500000000 to 2:08:51.655377000
> Discont detected from 0:00:00.500000000 to 2:08:51.681500000
> Discont detected from 0:00:00.500000000 to 2:08:51.707622000
> Discont detected from 0:00:00.500000000 to 2:08:51.733744000
> Discont detected from 0:00:00.500000000 to 2:08:51.759866000
> Discont detected from 0:00:00.500000000 to 2:08:51.785988000
> Discont detected from 0:00:00.500000000 to 2:08:51.812111000
> Discont detected from 0:00:00.500000000 to 2:08:51.838233000
>
>
> I have used filesrc to play but i dont get these logs. Only when i use
> appsrc i get these logs.
You usually get this messages when you are not pushing the data correctly,
(I mean in the correct sequence), check your read_data() there must be
something fishy in it. you can refer this example [1] something similar
and better way of queue management of pushing data into appsrc.

[1] https://github.com/AVnu/Open-AVB/blob/master/examples/gstreamer-avb-plugins/gst-plugin/src/gst_app_src.c

Thanks,
--Prabhakar

> This doesnt create a problem for video playback,but for my audio playback
> there is no audio output and I wonder if this is creating the problem.
>
> Any ideas would be helpful?.
> Thanks
>
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-avoid-Discont-detected-message-while-pushing-data-using-appsrc-tp4668747.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list