Commit Graph

2193 Commits

Author SHA1 Message Date
fgerlits b454abd40f fixing #1947 2006-11-08 16:10:38 +00:00
fgerlits 3944d3d8da fixing #1945 2006-11-08 10:23:40 +00:00
fgerlits 16a8907e5d removed a debug message left in by mistake 2006-11-08 09:30:58 +00:00
fgerlits 5dd9c29561 minor edit: fixed a typo (thanks, Frans) 2006-11-08 09:28:33 +00:00
mark 02d3438bc2 Fix GStreamer warnings that would sometime occur on trackend. The root of this problem was a rather rather serious bug in the player: In some cases we called other methods from inside of the EOS handler, which would modify the pipeline, start new tracks, etc. I have fixed this problem by using an idle function, so that the calls are relayed via the event loop.
Please note: The new code causes some tests to fail. This is *not* a bug in the player, but in fact a known problem with the testrunner.

Fixes #1941
2006-11-07 19:35:46 +00:00
fgerlits a94d747628 fixing #1930 2006-11-07 16:43:34 +00:00
fgerlits b286b9048d fixing #1920 2006-11-06 17:37:58 +00:00
fgerlits 959c465bb0 fixed #1918 2006-11-06 16:28:35 +00:00
mark 6456f5a162 Major performance improvement for SMIL files: Now the GstreamerPlayer is also able to open SMIL files in about 0.5 seconds.
Now I have removed usage of the old (slow) autoplugger altogether. Due to bugs in the minimalaudiosmil element, we cannot currently use it with decodebin. Hence we detect the SMIL filetype by file extension, and instantiate the element manually (very fast).

With this commit, #1904 is entirely fixed.
2006-11-06 07:56:33 +00:00
mark cc4b94fdc2 Fix typo. 2006-11-05 10:14:54 +00:00
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