summaryrefslogtreecommitdiff
path: root/indra/media_plugins/libvlc
diff options
context:
space:
mode:
authorCallum Linden <callum@lindenlab.com>2016-07-21 15:20:00 -0700
committerCallum Linden <callum@lindenlab.com>2016-07-21 15:20:00 -0700
commitbefb0446c50cd950315f12d9f545d0e072e8e87b (patch)
tree6b707fec6304a7e7028fbd343f4f7de3a7d65143 /indra/media_plugins/libvlc
parentdb76562aa7b01464d94ebdf2e7b522082c47df12 (diff)
Remove new 'buffering' state for video media - seemed like it'd be useful but it broke things
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r--indra/media_plugins/libvlc/media_plugin_libvlc.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
index 948639f125..9b5b51f56a 100644
--- a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
+++ b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
@@ -212,10 +212,6 @@ void MediaPluginLibVLC::eventCallbacks(const libvlc_event_t* event, void* ptr)
parent->setStatus(STATUS_LOADING);
break;
- case libvlc_MediaPlayerBuffering:
- parent->setStatus(STATUS_BUFFERING);
- break;
-
case libvlc_MediaPlayerPlaying:
parent->mDuration = (float)(libvlc_media_get_duration(parent->mLibVLCMedia)) / 1000.0f;
parent->setStatus(STATUS_PLAYING);
@@ -276,7 +272,6 @@ void MediaPluginLibVLC::playMedia()
if (em)
{
libvlc_event_detach(em, libvlc_MediaPlayerOpening, eventCallbacks, NULL);
- libvlc_event_detach(em, libvlc_MediaPlayerBuffering, eventCallbacks, NULL);
libvlc_event_detach(em, libvlc_MediaPlayerPlaying, eventCallbacks, NULL);
libvlc_event_detach(em, libvlc_MediaPlayerPaused, eventCallbacks, NULL);
libvlc_event_detach(em, libvlc_MediaPlayerStopped, eventCallbacks, NULL);
@@ -321,7 +316,6 @@ void MediaPluginLibVLC::playMedia()
if (em)
{
libvlc_event_attach(em, libvlc_MediaPlayerOpening, eventCallbacks, this);
- libvlc_event_attach(em, libvlc_MediaPlayerBuffering, eventCallbacks, this);
libvlc_event_attach(em, libvlc_MediaPlayerPlaying, eventCallbacks, this);
libvlc_event_attach(em, libvlc_MediaPlayerPaused, eventCallbacks, this);
libvlc_event_attach(em, libvlc_MediaPlayerStopped, eventCallbacks, this);