Commit graph

27 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 cee958b2d3 Raised the warning level on MSVC8 to 4, and fixed several warnings caused by that.
Originally committed to SVN as r2045.
2008-03-13 19:12:55 +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 7d7ea83d23 -__-
Originally committed to SVN as r1940.
2008-03-07 00:17:03 +00:00
Rodrigo Braz Monteiro eb5be3115a Fixed directshow... again.
Originally committed to SVN as r1939.
2008-03-07 00:09:58 +00:00
Rodrigo Braz Monteiro 30f12ef7e8 Fixed lavc and directshow video providers.
Originally committed to SVN as r1932.
2008-03-06 22:34:28 +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 c2aaa4eb8c Added shb's incomplete perl support code (doesn't build on VC++ yet)
Originally committed to SVN as r1741.
2008-01-16 18:29:29 +00:00
Rodrigo Braz Monteiro 75b4fb1437 Made almost all major components of Aegisub optional... this might be severely broken still.
Originally committed to SVN as r1660.
2007-12-31 06:46:22 +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
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 c722ce9741 ffmpeg video provider now works as expected, except that it leaks memory. This fix should also help with certain videos being loaded with other providers. Also added some asserts and clean up to video frame class.
Originally committed to SVN as r954.
2007-03-27 22:29:35 +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 420ac447ee video frame improvement
Originally committed to SVN as r904.
2007-01-28 03:26:03 +00:00
Rodrigo Braz Monteiro e07a71368b possible fix to dshow with shaders off.
Originally committed to SVN as r903.
2007-01-27 15:25:53 +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 297dbd74b8 Fixed almost a hundred warning messages issued with /W4 in VC++ (with warning 4100 disabled)
Originally committed to SVN as r891.
2007-01-24 03:54:32 +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 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 1ea3e085d9 DirectShow Video Provider now supports zoom and aspect ratio, but it's ugly and slow... still no subs.
Originally committed to SVN as r666.
2006-12-31 22:38:54 +00:00
Rodrigo Braz Monteiro 79ec29c204 Originally committed to SVN as r665. 2006-12-31 05:36:20 +00:00
Rodrigo Braz Monteiro 0fc5a75ac8 Mostly working DirectShow Video Provider
Originally committed to SVN as r664.
2006-12-31 05:01:01 +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
Renamed from core/video_provider_dshow.cpp (Browse further)