Commit Graph

27 Commits

Author SHA1 Message Date
Amar Takhar c0cf0c6a06 Add progress support back to HD Audio Cache with the new ProgressSink from libaegisub. Currently AudioProviderFactory::GetProvider() takes the ProgressSinkFactory however this should probably be moved up to the constructor for AudioProviderFactory. We'll see what the best option is when the others come around it's trivial to change.
Originally committed to SVN as r5347.
2011-02-11 03:47:18 +00:00
Amar Takhar 3a1487cf6f Finish removing wx from yuv4mpeg...
Originally committed to SVN as r5344.
2011-02-10 02:31:42 +00:00
Amar Takhar 106b331cb0 Mostly convert yuv4mpeg.cpp -- a little bit of parsing is left which I will take care of shortly.
Originally committed to SVN as r5341.
2011-02-10 01:33:14 +00:00
Amar Takhar a118487afa Remove cache cleaning code from ffms, I'll eventually write something in libaegisub as we need cache cleaning for other areas too. (debug log, crash logs etc)
Originally committed to SVN as r5330.
2011-02-09 21:53:37 +00:00
Amar Takhar ce912335f1 Fix and de wxify video_manager.cpp.
Originally committed to SVN as r5329.
2011-02-09 04:41:40 +00:00
Amar Takhar 7d2594b134 s/Video/FFmpegSourceVideoProvider/, originally I was planning something different now we're moving all media-related code, also add missing GetDecoderName() method which was somehow removed by accident in a previous revision.
Originally committed to SVN as r5328.
2011-02-09 04:41:15 +00:00
Amar Takhar 83fd95c605 Some fixes to libmedia/video.h
Originally committed to SVN as r5327.
2011-02-09 02:30:48 +00:00
Amar Takhar ae7d00a57e Fix and de-wxify audio_manager.cpp
Originally committed to SVN as r5326.
2011-02-09 02:28:43 +00:00
Amar Takhar 185721837b s/Audio/FFmpegSourceAudioProvider/, originally I was planning something different now we're moving all media-related code, also replace missing public identifier from the class decleration.
Originally committed to SVN as r5325.
2011-02-09 02:28:24 +00:00
Amar Takhar 4968fc2b55 Fix ram audio provider: this uses mutex.h (from google) in libaegisub and switches to use agi::io. The progress code has been stubbed out as well as a few path methods. There's no reason to guess at fixing them the only way to do it is after it's actually put into use.
Originally committed to SVN as r5310.
2011-02-06 19:52:50 +00:00
Amar Takhar 3d460ca31f Fix video cache, just needed to stub out one option which will be made a param to the constructor.
Originally committed to SVN as r5308.
2011-02-06 19:28:17 +00:00
Amar Takhar 15dab81b91 Fix ram audio provider (this stubs out a few lines used for progress updating.
Originally committed to SVN as r5307.
2011-02-06 18:48:42 +00:00
Amar Takhar 2ce135b612 Copy colourspace.(c|h) into libmedia and hack out wx.
Originally committed to SVN as r5306.
2011-02-06 03:59:13 +00:00
Amar Takhar 0c15005cc2 Add files to media namespace.
Originally committed to SVN as r5305.
2011-02-06 03:32:18 +00:00
Amar Takhar 37bcd0cc12 Fix dummy and pcm audio providers.
Originally committed to SVN as r5304.
2011-02-06 03:14:18 +00:00
Amar Takhar 65d216e60d Move dummy.h to dummy_audio.h
Originally committed to SVN as r5303.
2011-02-06 03:10:34 +00:00
Amar Takhar f16fb6bb5f Add fix convert and downmix audio providers.
Originally committed to SVN as r5302.
2011-02-06 03:09:59 +00:00
Amar Takhar e55ad2ed4d Add files to media namespace
Originally committed to SVN as r5301.
2011-02-06 03:08:51 +00:00
Amar Takhar e18ad3768b Switch namespace to media and use VideoProvider
Originally committed to SVN as r5300.
2011-02-06 03:02:45 +00:00
Amar Takhar 0ca6266c86 Add missing } to close the namespace.
Originally committed to SVN as r5299.
2011-02-06 03:02:13 +00:00
Amar Takhar f8b4b30cf8 Various fixes:
* svn:ignore
 * rename 'agi' namespace to 'media'
 * Remove some hacks required before bringing in provider code.

Originally committed to SVN as r5298.
2011-02-06 02:58:49 +00:00
Amar Takhar 97abbf13ce Remove exception.h, this used to be media.h in libaegisub however it's become moot after bringing in the provider headers from aegisub.
Originally committed to SVN as r5297.
2011-02-06 02:57:47 +00:00
Amar Takhar ff602f7f2a Copy aegisub/(video|audio)_provider.h to libmedia/(video|audio).h
Originally committed to SVN as r5295.
2011-02-06 00:04:55 +00:00
Amar Takhar 7a13a4fb10 Add Makefile, the precompiled header unfortunatly snuck into r5292 -- it's a verbatim copy from libaegisub.
Originally committed to SVN as r5294.
2011-02-05 23:49:26 +00:00
Amar Takhar 66b6fdcfc8 Move video_frame.cpp which was left out of r5292.
Originally committed to SVN as r5293.
2011-02-05 23:46:09 +00:00
Amar Takhar 511b37ee48 Move converted code out of libaegisub and into libmedia.
Originally committed to SVN as r5292.
2011-02-05 23:43:20 +00:00
Amar Takhar 72211ad685 Copy and rename files from src/ into libmedia/. A lot of these headers will have to go into include/*. At the moment there's no point sorting that out until we see the final relation and external api requirements. I'll first unhook all of this code from the UI to figure out what common changes are required then design the final changes for an api that the UI can use sanely.
Originally committed to SVN as r5290.
2011-02-05 23:34:12 +00:00