forked from mia/Aegisub
Strategically place comments to stub out AskForTrackSelection() and CleanCache().
Originally committed to SVN as r5285.
This commit is contained in:
parent
283eff76ac
commit
ac2c6508dd
1 changed files with 5 additions and 4 deletions
|
@ -151,8 +151,8 @@ std::map<int,std::string> FFmpegSourceProvider::GetTracksOfType(FFMS_Indexer *In
|
||||||
/// @param TrackList A std::map with the track numbers as keys and codec names as values
|
/// @param TrackList A std::map with the track numbers as keys and codec names as values
|
||||||
/// @param Type The track type to ask about
|
/// @param Type The track type to ask about
|
||||||
/// @return Returns the track number chosen (an integer >= 0) on success, or a negative integer if the user cancelled.
|
/// @return Returns the track number chosen (an integer >= 0) on success, or a negative integer if the user cancelled.
|
||||||
/*
|
|
||||||
int FFmpegSourceProvider::AskForTrackSelection(const std::map<int,std::string> &TrackList, FFMS_TrackType Type) {
|
int FFmpegSourceProvider::AskForTrackSelection(const std::map<int,std::string> &TrackList, FFMS_TrackType Type) {
|
||||||
|
/*
|
||||||
std::vector<int> TrackNumbers;
|
std::vector<int> TrackNumbers;
|
||||||
wxArrayString Choices;
|
wxArrayString Choices;
|
||||||
std::string TypeName = "";
|
std::string TypeName = "";
|
||||||
|
@ -174,8 +174,8 @@ int FFmpegSourceProvider::AskForTrackSelection(const std::map<int,std::string> &
|
||||||
return Choice;
|
return Choice;
|
||||||
else
|
else
|
||||||
return TrackNumbers[Choice];
|
return TrackNumbers[Choice];
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// @brief Set ffms2 log level according to setting in config.dat
|
/// @brief Set ffms2 log level according to setting in config.dat
|
||||||
|
@ -263,11 +263,11 @@ std::string toHash = "XXX";
|
||||||
return "XXX";
|
return "XXX";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
/// @brief Starts the cache cleaner thread
|
/// @brief Starts the cache cleaner thread
|
||||||
/// @return True on success, false if the thread could not be started.
|
/// @return True on success, false if the thread could not be started.
|
||||||
bool FFmpegSourceProvider::CleanCache() {
|
bool FFmpegSourceProvider::CleanCache() {
|
||||||
|
/*
|
||||||
LOG_D("provider/ffmpegsource/cache") << "attempting to start thread";
|
LOG_D("provider/ffmpegsource/cache") << "attempting to start thread";
|
||||||
|
|
||||||
FFmpegSourceCacheCleaner *CleaningThread = new FFmpegSourceCacheCleaner(this);
|
FFmpegSourceCacheCleaner *CleaningThread = new FFmpegSourceCacheCleaner(this);
|
||||||
|
@ -287,8 +287,9 @@ bool FFmpegSourceProvider::CleanCache() {
|
||||||
|
|
||||||
LOG_D("provider/ffmpegsource/cache") << "thread started successfully";
|
LOG_D("provider/ffmpegsource/cache") << "thread started successfully";
|
||||||
return true;
|
return true;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
|
||||||
/// @brief constructor
|
/// @brief constructor
|
||||||
|
|
Loading…
Reference in a new issue