Commit Graph

46629 Commits

Author SHA1 Message Date
Adrien Destugues
9dd9b45436 Use swresample to rematrix audio channels, try 2
This code is closer to what we used before for gcc2, and should not
crash there anymore. I could not get exactly the same code to work, but
reduced the difference to a single statement (which makes gcc2 work and
breaks gcc4). This is protected under a guard with appropriate ffmpeg
version test.

This code works for both gcc2 and gcc4 (tested with mp3 and aac files as
well as youtube videos). It still gets the timestamps wrong with ffmpeg
2.4, but I'll try to solve that another time.
2015-12-19 21:55:10 +01:00
Augustin Cavalier
8a822b7c85 Revert "AVCodecDecoder: use swresample to interleave audio channels."
Commit 856cc59e58 didn't really "fix"
anything; it just broke audio pretty much everywhere but YouTube,
and there videos play at 2x speed so it wasn't really worth it.

Stopgap solution for #12509.
2015-12-18 20:42:29 -05:00
Humdinger
128efd5eae Added application/xhtml+xml as supported type for TextSearch 2015-12-18 18:17:56 +01:00
Guillermo Bonvehi
937aabf5a1 MediaPlayer: Added simple shortcuts to playlist.
Fixes #6562.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
I tweaked some coding style and added back the missing
B_BACKSPACE shortcut.
2015-12-17 16:52:38 -05:00
Markus Himmel
a89ac5a653 Tracker: Add dragged poses to the drag message in the correct order
The function EachPoseAndModel iterates through poses in reverse order.
This fixes #12333.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-17 16:25:16 -05:00
Jérôme Duval
33840df504 app_server: declare jam dependency for BitmapPainter to freetype 2015-12-17 21:51:08 +01:00
Automatic Committer
381c562bc4 Update usb.ids from www.linux-usb.org 2015-12-17 05:20:33 +01:00
Augustin Cavalier
928081790f WebPositive: Fix typo in SettingsWindow.
Thanks Anarchos!
2015-12-16 16:16:35 -05:00
Dariusz Knociński
c0349163fd Preferences/VirtualMemory: fixed crash when exiting from not fully initialized application.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-15 21:21:23 -05:00
Augustin Cavalier
485f533935 RWLocker: Move to kits/shared.
As requested by looncraz. A lot of stuff in IOM/MediaPlayer's
'support' directories probably should be moved to 'shared' anyway.
2015-12-15 21:15:06 -05:00
Automatic Committer
58cc0108e9 Update pci.ids from pciids.sourceforge.net 2015-12-10 05:20:24 +01:00
Dario Casalinuovo
ec7d3b4053 Move old launch_media_server to deprecated file 2015-12-06 15:09:12 +01:00
Dario Casalinuovo
1acc73c437 Deprecate media_realtime_init_* functions 2015-12-06 15:03:49 +01:00
Dario Casalinuovo
aad4b937be media_kit: Add Deprecated.cpp file 2015-12-05 19:04:52 +01:00
Dario Casalinuovo
226be01113 media_kit: General maintainance
* Move !missing_symbols.cpp in the legacy directory.
* Move useless methods in a Deprecated.cpp file.
* SetRealtimeFlags / GetRealtimeFlags are useless, they
don't make sense nowadays.
* The symbols are anyway preserved.
2015-12-05 18:59:38 +01:00
Dario Casalinuovo
2b480e44f3 AddOnManager: Fix logic inversion 2015-12-05 13:16:00 +01:00
Dario Casalinuovo
f798491a8f FFmpegPlugin: Remove forgot variable 2015-12-04 12:18:52 +01:00
Dario Casalinuovo
8cd14ac0cd BMediaEncoder: Style fixes 2015-12-04 01:33:53 +01:00
Dario Casalinuovo
7f3ca22e46 AVCodecEncoder: Solve a crash at personalStudio startup
* This makes the app to start, but it's not enough
to have it show the window.
2015-12-04 01:33:53 +01:00
Dario Casalinuovo
2d50879085 BMediaEncoder: Proper handling of i/o formats 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
3bc039b9f1 media_kit: Add encoding support facilities 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
c3b461d8a9 AVCodecEncoder should not know the format 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
537ea80adf BMediaEncoder: Style fixes 2015-12-04 01:33:51 +01:00
Automatic Committer
504fda3f51 Update pci.ids from pciids.sourceforge.net 2015-12-03 05:20:21 +01:00
Dario Casalinuovo
9bc60a8bc0 BMediaEncoder: Init/Release code cleanup. 2015-12-02 16:08:07 +01:00
Dario Casalinuovo
106539c239 Implement BMediaEncoder::write_chunk 2015-12-02 16:08:07 +01:00
Dario Casalinuovo
2b51499295 Initial implementation of BMediaEncoder
* People interested, please review!
* This is based on the patch from Fredrik Moden which was based on
the Oleg Krysenkov one.
* The original patch has been reworked by myself.
* Adapted the code to work with the new PluginManager API which
differently than before doesn't need to contact the media_server.
2015-12-02 16:08:06 +01:00
Jérôme Duval
0df4a177d7 app_server: declare jam dependecy for AlphaMaskCache to freetype 2015-12-01 02:57:42 +01:00
Dario Casalinuovo
6423f87f9e BMediaRoster: Reference count polishment
* BMediaNode is registering it's presence to the roster.
* Only addons needs their configuration to be saved.
2015-11-28 16:35:06 +01:00
Dario Casalinuovo
d98b8c7c59 BufferCache: More strict validity checks
* This add a debugger call if the BBuffer id is
mismatched at object creation.
2015-11-28 16:35:05 +01:00
Dario Casalinuovo
67060664c9 Allow BMediaRoster to log local nodes
* BMediaRoster is now capable to know which nodes are
instantiated in this team. This is also a first step to make
them survive after media_server crashes.
* A control at BMediaRoster::Quit can notify if all nodes
were correctly released. Ideally at this point the local nodes
list should be empty.
2015-11-28 16:35:04 +01:00
Dario Casalinuovo
05962bb1e1 Add a way to register loopers for quit
* BApplication can now take the job to quit a BLooper at
the application quit. It's rejecting requests from windows too.
* BMediaRoster is using now this service in conjunction with the
MediaRosterUndertaker.
* The BeBook specify that we should have a valid BApplication
before to instantiate the BMediaRoster. While in theory we should
add a debugger call when this situation happens, in pratice this
might lead to more problems. For example libraries might use the
media_kit and create a BApplication object, but they aren't
applications, this is a design problem. So I decided to replace it
with a TRACE call for the moment.
2015-11-28 16:35:03 +01:00
Axel Dörfler
893e3de866 mail_daemon: Converted to BServer. 2015-11-28 14:18:18 +01:00
Axel Dörfler
59e6d9d2e2 launch_daemon: Maintain pending jobs for requirements.
* If a requirement cannot be launched, a job is now added to the
  requirement as pending job.
* If the requirement enters the launch queue at a later time, the
  pending job will be put there, too.
2015-11-28 14:00:36 +01:00
Axel Dörfler
236e68efdc launch_daemon: Check requirements before launching a job.
* They were only launched, but we didn't check if we can actually
  launch them.
2015-11-28 14:00:01 +01:00
Axel Dörfler
ea3e5d43d5 passwd: Fixed copy&paste error in error message. 2015-11-28 13:59:19 +01:00
Jérôme Duval
f9422dc81d x86_gcc2: add dependency on ssl libs on haiku.hpkg. 2015-11-28 10:06:46 +01:00
Jérôme Duval
e7e318fc73 haiku-x86: add a dependency on libssl and libcrypt 2015-11-26 18:58:14 +01:00
Automatic Committer
087cbdf98d Update pci.ids from pciids.sourceforge.net 2015-11-26 05:20:22 +01:00
Jessica Hamilton
d5449f12d4 app_server: add another missing dependency on freetype 2015-11-26 14:44:51 +13:00
François Revol
e3c95b5aa1 usb_disk: add icon for mobile phones
Add a match for my Kazam dumb phone, which is not very descriptive...
2015-11-26 01:17:24 +01:00
Jérôme Duval
c5c31f4118 haiku-x86/haiku-x86_gcc2: make some dependencies feature dependent. 2015-11-24 20:20:52 +01:00
François Revol
eff74a3387 usb_disk: use SD card and Memory Stick icons when found
Check for partial matches on the product_name string.

Tested with a USB card reader and an SD card.

Feel free to add icons for Compact Flash and Secure Media and more matches.
2015-11-24 14:30:48 +01:00
François Revol
6c51d2639b usb_disk: use CD icon for optical media
Tested with a CD drive and a USB adapter.
2015-11-24 14:28:30 +01:00
François Revol
ce27a0cc0a usb_disk: add some icons
- CD
- SD
- MemoryStick
2015-11-24 12:26:10 +01:00
Rene Gollent
a9aa59ef7c Debugger: Fix #12499.
DebugReportGenerator/UiUtils:
- When traversing the value node graph, detection of the case of
  an address type with a compound child wasn't taking type modifiers
  into account, leading to it sometimes not traversing down to members
  when it should, and consequently not reporting those members in a debug
  report.
2015-11-23 22:31:01 -05:00
Axel Dörfler
9b9e7ec808 E-mail: Converted auto config window to layout API.
* It still doesn't work correctly yet again, though; the servers cannot
  be configured there.
* I'm leaning towards removing the server configuration there, as they
  can easily changed in the add-on preferences from the same preferences
  application; the way it was done was pretty much a hack. Any hard
  feelings about this?
2015-11-23 21:50:42 +01:00
Jérôme Duval
69a973e2f7 screen_blanker: fix warning. 2015-11-23 20:48:15 +01:00
Jérôme Duval
2bc202c430 XHCI USB: Add port routing for Intel WildcatPoint LP USB.
* from FreeBSD.
2015-11-23 20:47:15 +01:00
Jérôme Duval
95c8163a16 Add Hangul and Hangul_Hanja keycodes for korean keyboards.
* map both keys on USB keyboards. Untested.
2015-11-23 20:04:22 +01:00