Commit Graph

34 Commits

Author SHA1 Message Date
Amar Takhar 0763541848 Change how configuration works.
* move win32/config0.h -> config/config_windows0.h
  * move win32/stdint.h -> msvc/stdint.h
  * move posix/defines.h -> config/config_unix.h
  * add config.h - brings in config_(windows|unix).h as required
  * add config.h to *.cpp
  * Self-contain FFmpegSource2 with required function defines wrapped with
    __UNIX__ instead of the now removed defines.h.
  * Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
    change VCPreBuildEventTool to create windows_config.h from
    windows_config0.h.  Add msvc to include path.
  * Change configure to create ./acconf.h instead of posix/acconf.h

This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.

Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Karl Blomster 893ff2f78a Major rewrite of the video providing system. Hilights:
- It is now the responsibility of each video provider to provide a list of keyframe positions and (if it can) timecodes.
- The ffmpeg video provider now indexes files before opening them and does no longer rely on stream->duration to determine the number of frames. Fixes opening of MKV files, but it does not (currently) open timecodes automatically and reported keyframe positions seem way off. Status of frame-accuracy with MKV files unknown but it may very well work.
- Modified the way the ffmpeg video provider seeks (inspired by code from Myrsloik's ffmpegsource). Should no longer lose the first frame and should also no longer be frame-inaccurate, at least not with AVI.
- DirectShow video provider may or may not be completely broken, not tested.

Originally committed to SVN as r2252.
2008-07-15 00:08:05 +00:00
Rodrigo Braz Monteiro 6b12f54d72 Changed video provider to not depend on wxWidgets.
Originally committed to SVN as r1958.
2008-03-07 21:24:14 +00:00
Rodrigo Braz Monteiro bb7177dcfb Fixed #662, that resulted in crashes when trying to load an empty avs file.
Originally committed to SVN as r1927.
2008-03-06 21:38:40 +00:00
Rodrigo Braz Monteiro bed7f3ed8d Modified the video provider interface to be a true interface, and moved all caching routines to another video provider that can be chained.
Originally committed to SVN as r1918.
2008-03-06 19:20:25 +00:00
Rodrigo Braz Monteiro 59f1962e7c Changed video providers to be initialized explicitly. (Only avisynth tested, though)
Originally committed to SVN as r1890.
2008-03-05 02:05:01 +00:00
Rodrigo Braz Monteiro 1afa7566ab Originally committed to SVN as r1812. 2008-01-22 02:54:16 +00:00
Rodrigo Braz Monteiro 2e57dda49e Small tweak to avs video provider
Originally committed to SVN as r1614.
2007-10-19 00:55:03 +00:00
Rodrigo Braz Monteiro 381d4ad9d5 Made ffmpegsource no longer write caches.
Originally committed to SVN as r1611.
2007-10-18 20:19:06 +00:00
Niels Martin Hansen 84afda857e Look for VSFilter.dll in ?data/csri/ first, then ?data/ and then registry.
Originally committed to SVN as r1600.
2007-10-13 02:13:51 +00:00
Niels Martin Hansen 89d076c760 Apparently long long isn't safe, trying with int64_t instead then...
Originally committed to SVN as r1547.
2007-08-31 14:11:35 +00:00
Niels Martin Hansen fb7c7e1f74 Make Avisynth video and audio provider load DirectShowSource.dll from the application directory if it exists. Audio provider should also fail properly now if the DirectShowSource function doesn't exist.
Originally committed to SVN as r1537.
2007-08-28 21:34:44 +00:00
Rodrigo Braz Monteiro 388429b899 Fixing weird shit that got broken
Originally committed to SVN as r1521.
2007-08-19 22:56:22 +00:00
Rodrigo Braz Monteiro d6b5c8fbb9 demi` patch: Added a new "Video Details" dialog, that lists some information regarding the currently open video.
Originally committed to SVN as r1520.
2007-08-19 22:21:41 +00:00
Rodrigo Braz Monteiro c098e4d2a3 Issue #466 - Fixed ffmpegsource with vfr videos. Also re-added the warning for dss. Avisynth provider *should* now be 100% reliable if ffmpegsource.dll is present.
Originally committed to SVN as r1456.
2007-07-29 09:06:38 +00:00
Niels Martin Hansen a0beaef640 Clarified a bunch of error messages
Originally committed to SVN as r1433.
2007-07-18 13:46:38 +00:00
Rodrigo Braz Monteiro d0fc49ca67 Replaced all references to absolute paths with ?user, ?data or ?temp. Some bugs might have resulted, but it seems to work-ish.
Originally committed to SVN as r1277.
2007-06-21 00:46:50 +00:00
Rodrigo Braz Monteiro 34cd74525d Made Avisynth video provider use FFMpegSource for non avi/d2v/avs, but it will break for vfr because of the hack to make it work with dss
Originally committed to SVN as r1227.
2007-06-16 22:07:43 +00:00
Rodrigo Braz Monteiro 716539b54a Allowed using detached subtitles providers on avisynth video provider, and changed the advanced video options in the options dialog to reload the video (so you can immediately see the changes)
Originally committed to SVN as r1032.
2007-04-08 19:27:46 +00:00
Rodrigo Braz Monteiro 370512917c Applied Pomyk's patch and fixed YV12 DirectShow
Originally committed to SVN as r905.
2007-01-29 05:47:29 +00:00
Rodrigo Braz Monteiro 5d6282aee5 Shaders no longer need glew
Originally committed to SVN as r900.
2007-01-27 07:13:29 +00:00
Rodrigo Braz Monteiro 3b9afa126e Mostly operational pixel shaded YV12->RGB32 conversion. (needs glew for now)
Originally committed to SVN as r899.
2007-01-27 06:15:25 +00:00
Rodrigo Braz Monteiro 02bf068052 Basic (and somewhat broken) detached video dialog implemented.
Originally committed to SVN as r881.
2007-01-23 04:42:08 +00:00
Rodrigo Braz Monteiro bef789fb57 Fixes to DirectShow provider
Originally committed to SVN as r872.
2007-01-22 03:39:36 +00:00
Rodrigo Braz Monteiro b206573965 Clean up to factory classes.
Originally committed to SVN as r863.
2007-01-21 07:12:47 +00:00
Rodrigo Braz Monteiro 98ce168b31 Merged opengl branch from 806 to 859
Originally committed to SVN as r860.
2007-01-21 06:30:19 +00:00
Rodrigo Braz Monteiro 21c8587d1c Fixed loading with mpeg2dec3 on avs 2.5.7+ (Myrsloik)
Originally committed to SVN as r801.
2007-01-15 20:48:58 +00:00
Rodrigo Braz Monteiro b1fb222591 Aegisub now supports asa instead of vsfilter under avisynth
Originally committed to SVN as r792.
2007-01-15 01:46:59 +00:00
Rodrigo Braz Monteiro 2da6766cc7 Originally committed to SVN as r776. 2007-01-11 20:12:21 +00:00
Fredrik Mellbin f21437d33f use SetLegacyPlanarAlignment() when old mpeg2decs are used with avisynth 2.5.7+
Originally committed to SVN as r775.
2007-01-11 19:49:37 +00:00
Rodrigo Braz Monteiro 6ea8475941 New class to isolate visual typesetting
Originally committed to SVN as r745.
2007-01-08 21:11:06 +00:00
Rodrigo Braz Monteiro e79ef00863 Originally committed to SVN as r668. 2007-01-01 03:34:08 +00:00
Rodrigo Braz Monteiro 5813033fa8 Improved handling of VFR files with DirectShow and Avisynth providers.
Originally committed to SVN as r667.
2007-01-01 03:29:20 +00:00
Rodrigo Braz Monteiro 06cff2e2f2 Renamed /core/ to /aegisub/ to avoid issues with unix systems being unable to delete core dumps.
Originally committed to SVN as r652.
2006-12-28 23:43:23 +00:00