mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gst/playback/gstplaybasebin.c: Use _new_custom() so we can set custom message types for buffering messages.
Original commit message from CVS: * gst/playback/gstplaybasebin.c: (fill_buffer): Use _new_custom() so we can set custom message types for buffering messages.
This commit is contained in:
parent
950ecc5d5f
commit
a67811fdc7
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (fill_buffer):
|
||||
Use _new_custom() so we can set custom message types for buffering
|
||||
messages.
|
||||
|
||||
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -438,7 +438,8 @@ static inline void
|
|||
fill_buffer (GstPlayBaseBin * play_base_bin, gint percent)
|
||||
{
|
||||
gst_element_post_message (GST_ELEMENT (play_base_bin),
|
||||
gst_message_new_application (GST_OBJECT (play_base_bin),
|
||||
gst_message_new_custom (GST_MESSAGE_BUFFERING,
|
||||
GST_OBJECT (play_base_bin),
|
||||
gst_structure_new ("GstMessageBuffering",
|
||||
"buffer-percent", G_TYPE_INT, percent, NULL)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue