Fredrik Mellbin
140dc44882
FFMS2: Another much needed set of fixes to the Haali part
...
Originally committed to SVN as r2853.
2009-04-25 22:09:49 +00:00
Fredrik Mellbin
a41e48a159
Fix the video provider after the FFMS2 changes part2
...
Originally committed to SVN as r2852.
2009-04-25 10:31:39 +00:00
Fredrik Mellbin
f64b10978b
Fix the video provider after the FFMS2 changes
...
Originally committed to SVN as r2851.
2009-04-25 09:26:03 +00:00
Fredrik Mellbin
8f7930e876
FFMS2: Even less enum forward declarations
...
Originally committed to SVN as r2850.
2009-04-25 09:09:14 +00:00
Fredrik Mellbin
6f6d1bdf3a
FFMS2: Less enum forward declaration?
...
Originally committed to SVN as r2849.
2009-04-25 08:55:14 +00:00
Amar Takhar
f8652576c8
Add CommonProgramFiles CommonProgramFiles(x86) ProgramFiles ProgramFiles(x86) to the build environment.
...
Originally committed to SVN as r2847.
2009-04-25 02:04:33 +00:00
Amar Takhar
57024a2e7c
vc++ needs TMP/TEMP to be set in the env in order to work correctly.
...
Originally committed to SVN as r2846.
2009-04-24 23:23:48 +00:00
Fredrik Mellbin
6fae2955fd
FFMS2:
...
Remove the dependency of pixfmt.h in ffms.h
Added the alternative FFMS_GetPixFmt() for getting the different pixel format values
Originally committed to SVN as r2845.
2009-04-24 19:56:19 +00:00
Karl Blomster
aaad6b4ad6
Update ffms2.lib again
...
Originally committed to SVN as r2844.
2009-04-24 18:41:34 +00:00
Fredrik Mellbin
83586d2b18
FFMS2:
...
Several bugfixes which should fix crashes in recent versions
Added a simple regression test application
Removed a few useless functions from the API
Add TheFluff's FFmpegSource 1.21 syntax compatibility script
Originally committed to SVN as r2843.
2009-04-24 17:42:21 +00:00
Amar Takhar
45d6e37ee8
Whoops, remove trunk\ from the solution path.
...
Originally committed to SVN as r2842.
2009-04-24 04:16:01 +00:00
Amar Takhar
c2e02322cf
Add a bath file to compile aegisub, these will exist _per_ buildslave. It's probably better to keep it here anyway as build environments will not be changable without a historical record being kept. (it's also easier!)
...
Originally committed to SVN as r2841.
2009-04-24 04:00:04 +00:00
Amar Takhar
fb36f6d4af
Add a solution and windows config for Windows tinderbox building. Submitted by jfs, thanks!
...
Originally committed to SVN as r2840.
2009-04-23 20:26:07 +00:00
Karl Blomster
4c68bb5412
Updated German translation (by Sebastian Billau).
...
Originally committed to SVN as r2839.
2009-04-23 10:32:00 +00:00
Karl Blomster
53bc5a034d
Avisynth video provider will now use ffmpegsource2 instead of ffmpegsource when so required.
...
Originally committed to SVN as r2838.
2009-04-23 02:09:05 +00:00
Fredrik Mellbin
e42ae2d19d
FFMS2: Various fixes to haali stuff
...
Originally committed to SVN as r2837.
2009-04-22 18:38:28 +00:00
Amar Takhar
ff7ee2e776
Add a cross-compile condition to AC_RUN_IFELSE in AC_AGI_COMPILE to make cross-compiling work.
...
Originally committed to SVN as r2836.
2009-04-21 22:32:07 +00:00
Amar Takhar
e2d0317df3
Bunk commit to trigger the build cluster.
...
Originally committed to SVN as r2835.
2009-04-21 18:48:59 +00:00
Amar Takhar
af68c58f56
Add a command to autogen --skip-configure to allow the autogen/configure steps
...
to be split for the build tinderbox.
Originally committed to SVN as r2834.
2009-04-20 02:45:35 +00:00
Amar Takhar
544c325dde
Fix typo.
...
Originally committed to SVN as r2833.
2009-04-20 02:43:32 +00:00
Niels Martin Hansen
2ba96af5b2
Remove outdated and unused Windows installer scripts.
...
Originally committed to SVN as r2832.
2009-04-19 20:48:08 +00:00
Niels Martin Hansen
e2a75490c9
Remove the annoyance known as Tip of the Day. Right now it's completely inaccessible, but might return in a different incarnation when we get out of strings freeze.
...
Originally committed to SVN as r2831.
2009-04-18 15:29:13 +00:00
Niels Martin Hansen
6ec31a3a08
Simplify code to pick mapping size in PCMWAV provider, just use sizeof(void*) to determine address space size.
...
Originally committed to SVN as r2830.
2009-04-18 15:16:15 +00:00
Niels Martin Hansen
f5bc001e90
Move more project settings into property sheet files.
...
Originally committed to SVN as r2829.
2009-04-18 13:40:52 +00:00
Niels Martin Hansen
a749c23e8b
Rename auto3 DLL to something less ugly.
...
Originally committed to SVN as r2828.
2009-04-18 13:31:08 +00:00
Karl Blomster
f6016573c8
revert revision 2825 since apparently it broke all of jfs' changes
...
Originally committed to SVN as r2827.
2009-04-18 13:02:13 +00:00
Karl Blomster
65e69a51cf
"Fix" an issue that would cause the FFMS2 audio provider to crash when fed with a unicode filename/path. The solution involves getting the "short path", no idea if it works on Unix. Fixes bugtracker issues #810 and #808 .
...
Originally committed to SVN as r2826.
2009-04-18 10:54:20 +00:00
Karl Blomster
caa26103f5
add portaudio_x86.dll to the list of delay-loaded dll's in the vs2008 project file
...
Originally committed to SVN as r2825.
2009-04-18 09:37:54 +00:00
Karl Blomster
f20737b8b2
Fix an issue where the grid font face option's font browser button wouldn't actually update the setting. Patch by Harukalover, resolves bugtracker issues #706 and (partially) #821 .
...
Originally committed to SVN as r2824.
2009-04-18 09:12:26 +00:00
Niels Martin Hansen
909275f0df
Visual Studio loves not saving property sheets unless told to VERY explicitly. Missed one for Lua 5.0.
...
Originally committed to SVN as r2823.
2009-04-17 22:39:43 +00:00
Niels Martin Hansen
0fe7719162
Adjust hunspell VC project to also use property sheets.
...
Originally committed to SVN as r2822.
2009-04-17 22:34:03 +00:00
Niels Martin Hansen
fe393f82af
No longer support anything for Windows-builds but Visual Studio 2008/VC9.
...
Remove all outdated, unmaintained project files and some unused dirs, and other stuff related to outdated build methods.
Originally committed to SVN as r2821.
2009-04-17 22:08:37 +00:00
Niels Martin Hansen
30057004f1
Some changes to property sheets went unsaved before previous commit, oops.
...
(This made linking in various things impossible.)
Originally committed to SVN as r2820.
2009-04-17 21:58:17 +00:00
Niels Martin Hansen
77791217a0
Refactor Visual Studio 2008 build and make libauto3 and Lua 5.0 build on VC9.
...
* The most important project properties (especially paths) are now stored in VSProps files in generalised ways.
* Projects share VSProps files so they place output files in same locations and thus agree on where to find them.
* Avoid inconsistencies between build configurations/platforms as has happened often before.
* Now distributable binaries (aegisub.exe and aegisub-auto3.dll) will be placed in $(SolutionDir)/bin/, static libraries under $(SolutionDir)/lib/ and object files etc. under $(SolutionDir)/build/. Note that those locations are controlled by where the solution file is placed in the file system.
* libauto3 is no longer pulled in by a #pragma in auto4_auto3.c, but must instead be pulled in by making the aegisub project depend on the auto3 project, which must in turn depend on the lua50 project.
* Final binary filenames are now somewhat different. You get aegisub32.exe, aegisub64d.exe, aegisub-auto3lib32d.dll and more.
* There's still more that can be factored out, things like optimisation flags and defines.
Originally committed to SVN as r2819.
2009-04-17 21:53:48 +00:00
Niels Martin Hansen
c55df071cf
The lines.n value produced by Auto3 implementation was 1 too small causing the last line in a file to be eaten by karaskel.
...
Originally committed to SVN as r2818.
2009-04-17 21:34:43 +00:00
Niels Martin Hansen
5a76711a19
Make callables.c error properly if it's attempted compiled separately.
...
Originally committed to SVN as r2817.
2009-04-17 20:55:48 +00:00
Niels Martin Hansen
8a5933385d
Make libauto3 better liked by MSVC 2008.
...
Originally committed to SVN as r2816.
2009-04-17 20:51:58 +00:00
Niels Martin Hansen
b6ae30cc6c
Force use of ANSI versions of Windows API's for runtime+loading of DLL's, causing problems when building with UNICODE defined.
...
Originally committed to SVN as r2815.
2009-04-17 20:20:37 +00:00
Karl Blomster
cc26be476e
add portaudio2 player to the vs2005 project as well while I'm at it
...
Originally committed to SVN as r2814.
2009-04-17 19:45:33 +00:00
Karl Blomster
8a6206e5d0
add portaudio2 audio player to config/config_windows0.h and the vs2008 project file
...
Originally committed to SVN as r2813.
2009-04-17 19:44:07 +00:00
Karl Blomster
c3afb85af4
change buffer length/wanted latency in the dsound2 audio player to 80/4 (down from 100/5); should make it a bit more responsive
...
Originally committed to SVN as r2812.
2009-04-17 19:40:29 +00:00
Karl Blomster
0d6454087e
update ffms2.lib
...
Originally committed to SVN as r2811.
2009-04-17 19:38:12 +00:00
Niels Martin Hansen
7a19b273b1
Fix crash in PCM audio provider when using files larger than the mapping size (256 MB on 32 bit). The length of mappings closer than mapping-size to the end of the file, when the file was larger, would not be adjusted to not cross the end of file.
...
Originally committed to SVN as r2810.
2009-04-17 16:34:06 +00:00
Amar Takhar
49e3895180
Re-order the functions so they're in line with every other player: Constructor,
...
Destructor, Open, Close, Play, Stop.. I rue the fact that I didn't do this at
the start.
Originally committed to SVN as r2809.
2009-04-17 13:58:44 +00:00
Karl Blomster
d77c119d63
Fix a bug in FFMS2 that caused it to write timecodes with scientific notation.
...
Originally committed to SVN as r2808.
2009-04-17 03:25:10 +00:00
Amar Takhar
6c256fd181
* Remove a short-lived hack (hours?) and replace it with a
...
PaStreamFinishedCallback which is called anytime a PaCallback is exited with
anything other than 0. (normal operation) paStreamFinishedCallback handles
stopping the audio stream when we've run to the end of the current selection
or the stream is stopped.
* Add framesPerBuffer to paCallback debug output in preperation for dynamic
buffers.
* Set paPrimeOutputBuffersUsingStreamCallback in Pa_OpenStream to prime the
output buffer using the callback rather than initing with empty space which
is the default.
* Indent paCallback decleration another level.
Originally committed to SVN as r2807.
2009-04-17 02:14:42 +00:00
Amar Takhar
50ce42d2e9
* Fold entire callback into a single if-else block.
...
* Remove 'end' variable and just return 0 if we have more to play.
Originally committed to SVN as r2806.
2009-04-16 20:55:14 +00:00
Amar Takhar
eb65009f66
* Remove variable 'avail'.
...
* Fold lenAvailable logic into a ternary operator.
* Use GetAduioWithVolume instead of applying volume ourselves.
* Remove code used to zero rest of the buffer. (not required)
Originally committed to SVN as r2805.
2009-04-16 20:49:37 +00:00
Amar Takhar
c6364bf43d
* Set Pa_OpenStream to use paClipOff as we don't need any clipping
...
* Update comment (realPlayPos has been removed).
* Return from paCallback with paAbort if there is no more audio to play.
Also set endPos to be less than the current playPos to stop the audio
event timer.
* Add CPU usage statistics to debug printf in paCallback.
Originally committed to SVN as r2804.
2009-04-16 19:55:52 +00:00
Amar Takhar
3e864d10c9
Make debug printf's a perm fixture wrapped with PORTAUDIO2_DEBUG.
...
Originally committed to SVN as r2803.
2009-04-16 14:22:46 +00:00