git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43209
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
newMovieActive,
NULL); // wasChanged
newMovieActive,
NULL); // wasChanged
- //
- // check GetMoviesStickyError() because it may not find the
- // proper codec and play black video and other strange effects,
- // not to mention mess up the dynamic backend loading scheme
- // of wxMediaCtrl - so it just does what the QuickTime player does
- //
- if (err == noErr && ::GetMoviesStickyError() == noErr)
+ // Do not use ::GetMoviesStickyError() here because it returns -2009
+ // a.k.a. invalid track on valid mpegs
+ if (err == noErr && ::GetMoviesError() == noErr)
{
::CloseMovieFile(movieResFile);
{
::CloseMovieFile(movieResFile);