Commit graph

2254 commits

Author SHA1 Message Date
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
Niels Martin Hansen
741476c96d Correct spelling error
Originally committed to SVN as r2274.
2008-07-22 00:33:25 +00:00
Niels Martin Hansen
1a89e75243 Updated logo image for Aegisub blog.
Originally committed to SVN as r2273.
2008-07-21 23:29:28 +00:00
Niels Martin Hansen
bdff6d4b67 Adding graphics used for the Aegisub Dev blog header
Originally committed to SVN as r2272.
2008-07-20 23:05:39 +00:00
Niels Martin Hansen
7b110725d1 Oops, r2270 broke the build, missing a backslash in a string.
Originally committed to SVN as r2271.
2008-07-20 13:45:10 +00:00
Niels Martin Hansen
30a9bdc17c Implement/fix #751 and update changelog a bit.
Originally committed to SVN as r2270.
2008-07-20 13:34:42 +00:00
Niels Martin Hansen
eb5e8ea8a1 Corrections for TranStation export support. Format written was incorrect (a space placed on the wrong side of a bracket). Also added full support for alignments, and subtracting one frame from end times to avoid overlaps
Originally committed to SVN as r2269.
2008-07-18 21:10:48 +00:00
Niels Martin Hansen
94011adf93 Fix SMPTE timecode formatting, never round frame up to avoid things like frame 30 in a second in a 30 fps movie, where frame numbers go from 0 to 29.
Originally committed to SVN as r2268.
2008-07-18 20:43:07 +00:00
Niels Martin Hansen
270ca4f876 Rewrite recombining of overlapping lines for export to simple subtitle formats, and reorganisation of other functions also used in those exports
Originally committed to SVN as r2267.
2008-07-18 15:39:34 +00:00
Rodrigo Braz Monteiro
2d7b2527a7 OMFG AMZ IS ALIVE! Partial TranStation export support (SMPTE drop-frames seem to be broken, and line merging isn't working)
Originally committed to SVN as r2266.
2008-07-18 01:36:20 +00:00
Karl Blomster
0badb4059f Restructured audio providing a bit. If a provider cannot provide 16-bit mono audio with a sample rate higher than 32kHz, an intermediate converting provider will be inserted to fix it. Made the lavc audio provider rely on this for downmixing instead of doing it with libavcodec (used to fail on audio with >2 channels).
Originally committed to SVN as r2265.
2008-07-16 13:22:06 +00:00
Niels Martin Hansen
2bd33541c1 Fix #745 by explicitly setting the font name combo box value after filling it
Originally committed to SVN as r2264.
2008-07-16 12:10:00 +00:00
Niels Martin Hansen
624eb825a7 Fix #746, style editor now shows initial values in spin controls
Originally committed to SVN as r2263.
2008-07-16 11:30:53 +00:00
Niels Martin Hansen
dfa3e548a0 Fix colour picker buttons in style editor by making AssColor::GetWXColor() aware that alpha has the opposite meaning in wxColour and ASS
Originally committed to SVN as r2262.
2008-07-16 01:41:33 +00:00
Niels Martin Hansen
27e35e9434 Fix current colour display in colour picker dialogue
Originally committed to SVN as r2261.
2008-07-16 01:36:38 +00:00
Niels Martin Hansen
9c51d15a99 Fix recent colours box in colour picker on Mac
Originally committed to SVN as r2260.
2008-07-16 01:29:36 +00:00
Karl Blomster
e8dffb60ec add audio_provider_downmix.cpp to Makefile.am
Originally committed to SVN as r2259.
2008-07-15 22:49:02 +00:00
Karl Blomster
6bec0322e4 split out the downmixing audio provider into its own .h/.cpp, in preparation for using it in the ffmpeg audio provider.
Originally committed to SVN as r2257.
2008-07-15 21:31:09 +00:00
Niels Martin Hansen
d120a4758b Fix bug #742 and possibly also #465. Needs testing on non-Mac platforms to see if there's visual glitches with video visual typesetting toolbar.
Originally committed to SVN as r2256.
2008-07-15 17:49:15 +00:00
Karl Blomster
a836b89476 cosmetics and cleanup of unused code in video_provider_lavc.cpp
Originally committed to SVN as r2255.
2008-07-15 14:35:22 +00:00