[gst-devel] No EOS message at the end of file.

Giles Atkinson Giles.Atkinson at eu.citrix.com
Fri May 14 12:42:07 CEST 2010


Earlier today, wl2776 wrote:

 > My problem is that the EOS message doesn't appear on playbin2's bus, after
some manipulations with reverse and forward playback. But the playbin2 is
surely at the end of file, as reported by _query_position().


I do not have much experience with playbin2, but have found that playbin only puts GST_MESSAGE_EOS and GST_MESSAGE_BUFFERING on the bus when the pipeline is considered to be "streaming".  That pipeline property is set from the URI scheme of the source data:

/* list of URIs that we consider to be streams and that need buffering.
 * We have no mechanism yet to figure this out with a query. */
static const gchar *stream_uris[] = { "http://", "mms://", "mmsh://",
  "mmsu://", "mmst://", "myth://", NULL
};

I have been experimenting with a change to make "streaming" an explicit property of the playbin element, which can be set and read externally, but I am not certain that is the best approach.  There certainly seems to be a bug of some kind here, as the documentation implies that these bus messages are always sent.

Giles






More information about the gstreamer-devel mailing list