[gst-devel] No EOS message at the end of file.
Wim Taymans
wim.taymans at gmail.com
Fri May 14 13:16:58 CEST 2010
On Fri, 2010-05-14 at 11:42 +0100, Giles Atkinson wrote:
> 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.
EOS should always be sent in the PLAYING state when the pipeline is EOS,
if not, please file a bug with an example or a way to reproduce the
strange behaviour that you are seeing.
Wim
>
> Giles
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list