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:
Ronald S. Bultje 2005-07-20 11:36:49 +00:00
parent 950ecc5d5f
commit a67811fdc7
2 changed files with 8 additions and 1 deletions

View file

@ -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:

View file

@ -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)));
}