Karl Blomster
c72cb5f505
kill another useless cast
...
Originally committed to SVN as r2324.
2008-09-06 02:54:22 +00:00
Karl Blomster
0add56bfa0
remove some useless casts
...
Originally committed to SVN as r2323.
2008-09-06 02:50:20 +00:00
Karl Blomster
728b0d0a93
cleanup of unused and useless code in video_provider_lavc.cpp
...
Originally committed to SVN as r2322.
2008-09-06 02:49:58 +00:00
Karl Blomster
df3512e8eb
add video_provider_ffmpegsource.cpp to Makefile.am
...
Originally committed to SVN as r2321.
2008-09-05 19:07:31 +00:00
Karl Blomster
82059cbfe2
add some support for sample formats other than 16-bit int to the lavc audio provider. untested and will probably break spectacularly.
...
Originally committed to SVN as r2320.
2008-09-05 12:55:45 +00:00
Karl Blomster
c28b96b502
add decoding threads option for the ffmpegsource video provider
...
Originally committed to SVN as r2319.
2008-09-05 12:53:57 +00:00
Karl Blomster
1655f97a59
add a progress dialog to the ffmpegsource video provider's indexing process
...
Originally committed to SVN as r2318.
2008-09-04 22:17:34 +00:00
Fredrik Mellbin
7fb0d975bd
FFmpegSource2: fix the progress callback
...
Originally committed to SVN as r2317.
2008-09-04 21:40:57 +00:00
Karl Blomster
5acd3b2534
revert back to including ffmpeg/libav*.h
...
Originally committed to SVN as r2316.
2008-09-04 18:26:15 +00:00
Fredrik Mellbin
19f9172d64
FFmpegSource2: fix lots of memory leaks, improve the api, add a progress callback
...
Originally committed to SVN as r2315.
2008-09-03 22:26:27 +00:00
Karl Blomster
b2153dd6cf
add option for ffmpegsource thread count and seek mode
...
Originally committed to SVN as r2314.
2008-09-03 21:22:33 +00:00
Karl Blomster
3e13ef206f
fix vfr handling for the ffmpegsource video provider, entire thing should be considered working now
...
Originally committed to SVN as r2313.
2008-09-03 21:03:18 +00:00
Karl Blomster
98341f62be
add vfr handling (broken) and keyframe reading (works) to the ffmpegsource video provider
...
Originally committed to SVN as r2312.
2008-09-03 20:27:50 +00:00
Fredrik Mellbin
1ffa0a95a1
FFmpegSource2: add a missing fourcc & fix a matroska access violation
...
Originally committed to SVN as r2311.
2008-09-03 19:22:34 +00:00
Karl Blomster
d8c8d47e4c
new video provider: ffmpegsource
...
Originally committed to SVN as r2310.
2008-09-03 17:03:20 +00:00
Fredrik Mellbin
6e6d85df7c
FFmpegSource2: add missing api parts
...
Originally committed to SVN as r2309.
2008-09-02 19:48:22 +00:00
Fredrik Mellbin
93b13387f2
FFmpegSource2: fix ffmpeg init some more
...
Originally committed to SVN as r2308.
2008-09-01 23:20:28 +00:00
Fredrik Mellbin
8f663c2336
FFmpegSource2: fix ffmpeg init
...
Originally committed to SVN as r2307.
2008-09-01 23:18:50 +00:00
Fredrik Mellbin
c4af6ea13d
FFmpegSource2
...
Originally committed to SVN as r2306.
2008-09-01 21:16:13 +00:00
Fredrik Mellbin
287c316b49
FFmpegSource 1.21
...
Originally committed to SVN as r2305.
2008-08-21 17:09:42 +00:00
Karl Blomster
bf931df635
fix retarded breakage in previous commit.
...
Originally committed to SVN as r2304.
2008-08-14 23:49:11 +00:00
Karl Blomster
d1c62c1324
Fix crash on playing video without audio loaded when using the ffmpeg providers. Patch by Manta with minor modifications by me.
...
Originally committed to SVN as r2303.
2008-08-14 16:10:31 +00:00
Karl Blomster
620cf44c46
sourced some error messages in the lavc video provider
...
Originally committed to SVN as r2302.
2008-08-14 16:06:04 +00:00
Niels Martin Hansen
8129285630
Fix #759 , correctly merge lines with identical text when exporting to simple subtitle formats.
...
Originally committed to SVN as r2301.
2008-08-11 00:02:36 +00:00
Niels Martin Hansen
2928449ecc
Add some missing files to VC 2005 project.
...
Originally committed to SVN as r2300.
2008-08-11 00:00:34 +00:00
Rodrigo Braz Monteiro
6ca9ac3f3a
Originally committed to SVN as r2299.
2008-08-09 23:01:39 +00:00
Rodrigo Braz Monteiro
b828b4a6ae
Originally committed to SVN as r2298.
2008-08-09 20:43:27 +00:00
Karl Blomster
5b38a17529
replace a bunch of magic numbers (2) with bytes_per_sample
...
Originally committed to SVN as r2297.
2008-08-04 08:17:35 +00:00
Karl Blomster
217c228738
misc small fixes in the ffmpeg audio provider, preparation for support of other sample formats than just 16-bit int
...
Originally committed to SVN as r2296.
2008-08-04 07:13:41 +00:00
Amar Takhar
9826d5bd58
Set GETTEXT_PACKAGE to 'aegisub' from 'aegisub21', I want to handle this
...
a better way but for now the old way is just fine. Bug #761
Originally committed to SVN as r2295.
2008-08-04 03:05:07 +00:00
Karl Blomster
bc675ea7dd
explicitly tell swscaler which scaling method to use (required by newer ffmpeg versions; no actual scaling is done, only colorspace conversion)
...
Originally committed to SVN as r2294.
2008-08-03 16:52:54 +00:00
Rodrigo Braz Monteiro
f0f1f7fb72
Completely broke Athenasub (WIP)
...
Originally committed to SVN as r2293.
2008-08-03 16:17:35 +00:00
Rodrigo Braz Monteiro
29ed35de5c
Updated projects to include /MP, and some changes to Athenasub.
...
Originally committed to SVN as r2292.
2008-07-27 21:24:38 +00:00
Rodrigo Braz Monteiro
e019c333d9
Changed Athenasub's API (WIP) and updated projects.
...
Originally committed to SVN as r2291.
2008-07-27 18:26:36 +00:00
Rodrigo Braz Monteiro
15369e7545
Updated MSVC project files.
...
Originally committed to SVN as r2290.
2008-07-27 04:28:15 +00:00
Karl Blomster
ba4533c89e
updated the aegisub.pot file. very few changes, three or four new strings and a few that changed places.
...
Originally committed to SVN as r2289.
2008-07-26 13:45:39 +00:00
Niels Martin Hansen
65990cc0eb
Update patch files as far as possible. Not everything is properly included.
...
csriapi.cpp is removed since the version a one dir up is the correct one, this one wasn't maintained.
These patch files were used as base for porting the patches to guliverkli2.
Originally committed to SVN as r2288.
2008-07-25 19:33:55 +00:00
Niels Martin Hansen
b5144d09a1
Add vector clip support to \iclip()
...
Originally committed to SVN as r2287.
2008-07-25 02:29:29 +00:00
Niels Martin Hansen
0e6dd47bf0
Implement \iclip (inverse rectangular clip)
...
Originally committed to SVN as r2286.
2008-07-25 01:33:32 +00:00
Niels Martin Hansen
94d3185170
Somewhat better workaround for \fad uglyness bug.
...
No more seams between border and fill when fill alpha is zero, though they still appear when fill alpha is nonzero.
It's either seams or ugly fades.
Originally committed to SVN as r2285.
2008-07-25 00:37:06 +00:00
Niels Martin Hansen
ea79951788
Added \blur tag for real gaussian blur. Blurs the same things as \be, except in a prettier way.
...
It is possible to combine the two, although it'd be mostly pointless.
Originally committed to SVN as r2284.
2008-07-24 02:41:53 +00:00
Niels Martin Hansen
316f1afb6e
Optimise safe_subtract to avoid conditionals.
...
Originally committed to SVN as r2283.
2008-07-24 00:10:43 +00:00
Niels Martin Hansen
582dd39cbd
Ensure Rasterizer::mWideBorder is initialized such that memory allocation in Rasterizer::Rasterize() doesn't go crazy. Also fix brainfart causing \xbord0\ybord<nonzero> to draw no border.
...
Originally committed to SVN as r2282.
2008-07-23 21:33:03 +00:00
Niels Martin Hansen
4e456b1abb
Changes to CSRI API and project file to ease debugging.
...
Originally committed to SVN as r2281.
2008-07-23 20:25:52 +00:00
Niels Martin Hansen
7342c2b617
Fix search/replace deleting part of line following the last match on that line. Also a minor optimisation.
...
Originally committed to SVN as r2280.
2008-07-23 16:09:27 +00:00
Niels Martin Hansen
5d3b1fe8c2
Enable variable strength 'blur edges' effect, using other values than 1 to \be, like \be20. Also allow putting \be inside \t for animating the blur effect.
...
The parameter is the number of passes of blur to perform.
Originally committed to SVN as r2279.
2008-07-22 23:38:22 +00:00
Niels Martin Hansen
13654219c2
Implemented four new tags: \xbord \ybord \xshad \yshad
...
Allows setting the border in X and Y direction separately, and the shadow displacement in X and Y direction separately.
The \xshad and \yshad tags also allow negative shadow displacement values. Negative shadow is still not allowed in any of the traditional locations.
Originally committed to SVN as r2278.
2008-07-22 21:42:36 +00:00
Niels Martin Hansen
c3c29518d4
Untested patch: Remove all traces of the update checker from non-Windows builds, since it causes more problems than it solves on those.
...
Originally committed to SVN as r2277.
2008-07-22 20:55:24 +00:00
Niels Martin Hansen
c54cf755ac
Fix "ugly fades" bug. The border colour was rendered behind the fill colour unless both primary and secondary alpha were non-zero. The \fad and \fade tags both set \alpha rather than \1a \2a \3a \4a, and \alpha is a wholly separate alpha value which wasn't considered at all in this case.
...
Making it never draw the fill in border colour fixes this and doesn't seem to have any adverse effects.
Originally committed to SVN as r2276.
2008-07-22 18:49:20 +00:00
Niels Martin Hansen
e504c61065
Fix rendering bug exposed with \be1, \bord smaller than 1.5 and non-zero fill alpha, causing "stray dots" to appear.
...
The problem was caused by an integer underflow, the fix involves spending a few more instructions per pixel to avoid that.
Originally committed to SVN as r2275.
2008-07-22 16:21:26 +00:00