A new interface for LibreTime.
Go to file
mark 8ea9d9d21a Major performance improvements for the GstreamerPlayer: Lag for opening/starting files has been reduced by a multitude, for all filetypes except SMIL. This has been achieved by using GStreamer's decodebin autoplugger, instead of our (very slow) custom autoplugger. For SMIL we currently still need to use the old autoplugger, so I have implemented two different codepaths.
For some hard numbers, this is an excerpt of a session with the new code:

[GstreamerPlayer] BEGIN: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::open(std::string)
  [GstreamerPlayer] Opening URL: file:var/test.mp3
[GstreamerPlayer] END__: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::open(std::string) - Took 0.099144s
[GstreamerPlayer] BEGIN: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::start()
[GstreamerPlayer] END__: virtual void LiveSupport::PlaylistExecutor::GstreamerPlayer::start() - Took 0.000105s

Total execution time ~0.1s. Almost instant.

Fixes #1904
2006-11-05 09:23:47 +00:00
campcaster Major performance improvements for the GstreamerPlayer: Lag for opening/starting files has been reduced by a multitude, for all filetypes except SMIL. This has been achieved by using GStreamer's decodebin autoplugger, instead of our (very slow) custom autoplugger. For SMIL we currently still need to use the old autoplugger, so I have implemented two different codepaths. 2006-11-05 09:23:47 +00:00
livesupport Improve comment. 2006-10-23 22:08:35 +00:00