Commit Graph

2183 Commits

Author SHA1 Message Date
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
tomash 42891b2059 minor fixes (prevention of warnings) 2006-11-03 21:07:06 +00:00
fgerlits b8d5f8d035 fixing #1929 2006-11-02 20:03:26 +00:00
fgerlits 13a6ae0f01 fixing #1925 2006-11-02 14:35:51 +00:00
fgerlits d3d817050d added more functions to the context menu in the Live Mode window;
removed an unnecessary argument in the SchedulePlaylistWindow;
plus minor formatting changes to the ScratchpadWindow
(all part of #1918)
2006-11-02 14:28:03 +00:00
fgerlits c5b8bbb201 cleaned up and rearranged the context menus (part of #1918) 2006-11-02 12:41:27 +00:00
tomash a3144ce333 #1878 searchMetadata generalized to multifield orderby 2006-11-02 10:09:46 +00:00
fgerlits 5e5cd76b4d temporary pseudo-fix for #1898 2006-11-01 20:45:42 +00:00
fgerlits c7686e10c7 minor edit: made the search results treeview a teensy bit taller 2006-11-01 16:11:28 +00:00
fgerlits e0f2ffaa08 fixing #1913 2006-11-01 15:49:23 +00:00
fgerlits 8001ebc5fc fixing #1890 2006-11-01 15:12:52 +00:00
fgerlits c301eb13ae fixing #1907 2006-11-01 12:47:02 +00:00
fgerlits 90fd4b1ca8 minor edit: openned -> opened; fixed a comment; brought the tests up to date with the recent API changes 2006-11-01 10:36:46 +00:00
fgerlits 5ad021fde3 fixing #1910 2006-10-31 19:37:19 +00:00
paul ea1982a2ea Fix for bug #1909 - ALBUM info wasnt imported for OGG files 2006-10-31 18:30:52 +00:00
mark f5f9db7ba8 Remove dubious code block from open(), that would try to play the pipeline on a fakesink. Currently this servers no purpose, but it just makes opening files slower.
Refer to #1904
2006-10-31 17:08:07 +00:00
fgerlits b87465f387 fixed #1868 2006-10-31 17:03:31 +00:00
mark c2bd03eb1d Output the current file URL to debug. 2006-10-31 16:38:38 +00:00
tomash 20d6342370 #1903 fixed handling html special characters 2006-10-31 16:20:24 +00:00
fgerlits 07d057b69b fixing #1895, plus cleaning up some search/browse code 2006-10-31 14:12:56 +00:00
fgerlits b0f60b4a4a undoing [2391]; see #1878 2006-10-30 13:59:22 +00:00
fgerlits 2ebbffb20b removing an unnecessary function left in [2401] by mistake 2006-10-30 12:46:19 +00:00
fgerlits 7b23ed6103 Fixing #1895, first draft.
Known problems:
 * no paging in the network hub results (see SearchWindow.cxx:703);
 * row coloring problem #1902.
2006-10-30 12:43:30 +00:00
fgerlits 4f8c9aa226 temporarily disabling "always on top" for the Master Panel;
this was added to fix bug #1860, but it causes bug #1901
2006-10-30 12:24:35 +00:00
mark e3165d6eaf This commit fixes several nasty bugs:
* We were relying on uninitialized variables (decoder).
* In setAudioDevice(), the relinking was completely broken. I have refactored and fixed the method.

Now we complete pass the GstreamerPlayer test suite.
Also fixes #1613
2006-10-30 09:33:19 +00:00
mark ac8c687a04 Don't unref an already destroyed audiosink object.
Fixes #1822
2006-10-30 08:14:11 +00:00
mark 8535b72f38 Optimize: Setting the pipeline to PAUSED before PLAYING is unnecessary. 2006-10-28 18:27:48 +00:00
mark a1983264dd Optimize: There is no need to remove the audiosink from the pipeline, only to add it again a few lines later on. 2006-10-28 18:20:09 +00:00
fgerlits 2290edbd00 fixing #1880 2006-10-27 14:51:07 +00:00
mark 21ab9f2930 Removed the volume element from the pipeline. Its only purpose was to limit the volume to 80% (which was hardcoded). This limiting should not be required; in fact it reduced the dynamic range and should therefore be avoided. 2006-10-26 15:31:11 +00:00
mark 62c3f1ac29 Add comments. 2006-10-26 14:26:59 +00:00
fgerlits 6abe4aa93d fixing #1894 2006-10-26 14:16:51 +00:00
fgerlits e3c415b38e fixing #1878 2006-10-26 12:43:48 +00:00
fgerlits 3e6875326f fixing #1873;
this breaks the network hub search because of #1893
2006-10-26 11:14:41 +00:00
mark 199809e6df Use proper GStreamer functions instead of their GLib counterparts. 2006-10-26 09:01:54 +00:00
paul 593e499a96 Changed import script and the HTML UI to use the same metadata import mechanism. This should fix #1819. 2006-10-25 20:56:42 +00:00
paul 620cc4d93d Fixed some formatting to comply with style guidelines. 2006-10-25 20:54:39 +00:00
paul 9b8b5e364c Fixed warning as a result of undefined array index 2006-10-25 20:46:27 +00:00
paul 53078c3c0c Fixed some formatting to comply with style guidelines. 2006-10-25 20:45:15 +00:00
paul c1b9acdefb Fixed some formatting to comply with style guidelines. 2006-10-25 20:44:30 +00:00
paul ce24055515 Fixed some formatting to comply with style guidelines. 2006-10-25 20:43:20 +00:00
paul 3d03ae059d Fixed some formatting to comply with style guidelines. 2006-10-25 20:40:54 +00:00
paul cae4c15b39 Fixed some formatting to comply with style guidelines. 2006-10-25 20:40:05 +00:00
paul 55fe551a4a Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:38:46 +00:00
paul 4cd4c8cbf5 Fixed some formatting to comply with style guidelines. 2006-10-25 20:37:57 +00:00
paul 9d98920a49 Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:36:52 +00:00
paul 27af739fe8 Fixed some formatting to comply with style guidelines. 2006-10-25 20:35:59 +00:00
paul 6f2013845c Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:34:28 +00:00
paul 6ad26b3080 Make sure not to double-escape strings used in SQL. Fixed some formatting to comply with style guidelines. 2006-10-25 20:33:35 +00:00
paul 49187026cb Changed error messages so that the page would display first, then show the error message on top of it, instead of showing the error message on top of a blank screen. 2006-10-25 20:30:17 +00:00