Warn message: "did not really configure latency of 0:00:00.000000000"

Rossana Guerra guerra.rossana at gmail.com
Tue Nov 1 21:41:46 PDT 2011


Hi, I play an .avi file with the elements and linkings described below, it
works fine. However when debugging, this message appears:

WARN     bin gstbin.c:2380:gst_bin_do_latency_func:<media-player> did not
really configure latency of 0:00:00.000000000

Do I be aware of something in particular?, which means exactly?
thanks


This is the core of the code:

 /* Create gstreamer elements */
  pipeline = gst_pipeline_new ("media-player");
  source = gst_element_factory_make ("filesrc", "file-source");
  demuxer = gst_element_factory_make ("avidemux", "avi-demuxer");
  decvd = gst_element_factory_make ("ffdec_mpeg4", "mpeg4-decoder");
  decad = gst_element_factory_make ("mad", "mp3-decoder");
  vdsink = gst_element_factory_make ("autovideosink", "video-sink");
  vdqueue = gst_element_factory_make ("queue", "video-queue");
  adqueue = gst_element_factory_make ("queue", "audio-queue");
  adsink = gst_element_factory_make ("alsasink", "audio-sink");

  :::::::::::::::::::::::::::::::::::::::::::::::::::::

  /* Set up the pipeline */

  /* we set the input filename to the source element */
  g_object_set (G_OBJECT (source), "location", argv[1], NULL);

  /* we add a message handler */
  bus = gst_pipeline_get_bus (GST_PIPELINE (pipeline));
  gst_bus_add_watch (bus, bus_call, loop);
  gst_object_unref (bus);

  /* we add all elements into the pipeline */
  gst_bin_add_many (GST_BIN (pipeline),source, demuxer, decvd, decad,
adqueue, vdqueue, vdsink, adsink,  NULL);

  /* we link the elements together */
  gst_element_link (source, demuxer);
  gst_element_link (decvd, vdqueue);
  gst_element_link (vdqueue, vdsink);
  gst_element_link (decad, adqueue);
  gst_element_link (adqueue, adsink);

  g_signal_connect (demuxer, "pad-added", G_CALLBACK (on_pad_added), NULL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111102/00ebcc82/attachment.html>


More information about the gstreamer-devel mailing list