Should playsink "send-event-mode" be exposed by playbin too?
Enrique Ocaña González
eocanha at igalia.com
Thu Jun 11 10:45:13 PDT 2015
Hello,
I'm currently working to add Media Source Extensions support to WebKit. Our
GStreamer pipeline uses a playbin, which contains a playsink with audio and video bins
that contain the audio and video sinks, respectively.
As part of the work to implement seek support, I need the reset-time event to reach
both the audio and the video bins in the playsink. Playsink has a "send-event-mode"
property[1] that can be tuned, but the playbin sets it to "mode-first" by default.
I can locate the playsink element inside the pipeline manually and set the property to
"mode-default", but I wonder if that's the right way to do it.
Shouldn't that setting be exposed by the playbin as a property on its own, so that I can
avoid messing with the implementation details (playsink) of the playbin? Or is asking for
the playsink a usual practice?
Thanks in advance for your comments.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=673211
--
Enrique Ocaña González
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150611/1d3b54cd/attachment.html>
More information about the gstreamer-devel
mailing list