im making a patch to make subtitle streams play and report properly in the ui
but this is happening:
2006-12-24 23:35:33.988500 [Debug][MPMain]: FStreams is NULL!
2006-12-24 23:35:34.035375 [Info.][MPMain]: VideoPlayeruration:2846,17944335938
2006-12-24 23:35:34.035375 [Debug][MPMain]: Fstreams INIT!
problem:
in VideoPlayerVMR7.cs
at the end of Play(file string) is a call to AnalyseStreams(); that creates an instance of FilterStreams that has info on video/audio/subtitle streams.
BUT something calls getSubtitleStreams() before AnalyseStreams() has run
resulting in a serious error where the streaminfo object FStreams is still null when its actually needed
this doesnt affect player since its (wrongly) using vobsub only.
it affects players functions to list subtitle stream choices in containers where subtitle streams are possible (this is what my patch fixes)
INFO: this wasnt an issue in a ~month old svn checkout, so something has changed elsewhere in the code that makes this happen, my patch worked perfectly earlier, it stopped working when i updated my working copy
but this is happening:
2006-12-24 23:35:33.988500 [Debug][MPMain]: FStreams is NULL!
2006-12-24 23:35:34.035375 [Info.][MPMain]: VideoPlayeruration:2846,17944335938
2006-12-24 23:35:34.035375 [Debug][MPMain]: Fstreams INIT!
problem:
in VideoPlayerVMR7.cs
at the end of Play(file string) is a call to AnalyseStreams(); that creates an instance of FilterStreams that has info on video/audio/subtitle streams.
BUT something calls getSubtitleStreams() before AnalyseStreams() has run
resulting in a serious error where the streaminfo object FStreams is still null when its actually needed
this doesnt affect player since its (wrongly) using vobsub only.
it affects players functions to list subtitle stream choices in containers where subtitle streams are possible (this is what my patch fixes)
INFO: this wasnt an issue in a ~month old svn checkout, so something has changed elsewhere in the code that makes this happen, my patch worked perfectly earlier, it stopped working when i updated my working copy