mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
Slightly better buffering UI messages
This commit is contained in:
parent
7a319d7fee
commit
387de5544c
1 changed files with 1 additions and 2 deletions
|
@ -218,9 +218,8 @@ static void buffering_cb (GstBus *bus, GstMessage *msg, CustomData *data) {
|
|||
g_free (message_string);
|
||||
} else if (data->target_state >= GST_STATE_PLAYING) {
|
||||
gst_element_set_state (data->pipeline, GST_STATE_PLAYING);
|
||||
set_ui_message ("PLAYING", data);
|
||||
} else if (data->target_state >= GST_STATE_PAUSED) {
|
||||
set_ui_message ("PAUSED", data);
|
||||
set_ui_message ("Buffering complete", data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue