You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working for Igloovision on updating a Windows app from OF 8.4 to 9.7
We want to use ofxHapPlayer as the default player, but if the movie is non playable we try other players.
I've switched to the libavformat branch and have found that isLoaded() is no longer true immediately after calling load(), I'm guessing because the load happens in a new thread?
Can I find out somehow if the load is in progress and wait for a result?
Is there any other way of testing whether the movie can be played or not?
The text was updated successfully, but these errors were encountered:
Yep, loading happens in the background. This should be clearer, maybe we should add isLoading() or some such.
For the moment, if you have called load() and isLoaded() returns false and getError() returns an empty string, then you can assume it is loading. If you have called load() and getError() returns a non-empty string and isLoaded() returns false, then an error occurred during loading.
bangnoise
changed the title
Is there any way of telling if a movie is playable?
Need to indicate load() is ongoing during background load
Jul 26, 2017
I'm working for Igloovision on updating a Windows app from OF 8.4 to 9.7
We want to use ofxHapPlayer as the default player, but if the movie is non playable we try other players.
I've switched to the libavformat branch and have found that isLoaded() is no longer true immediately after calling load(), I'm guessing because the load happens in a new thread?
Can I find out somehow if the load is in progress and wait for a result?
Is there any other way of testing whether the movie can be played or not?
The text was updated successfully, but these errors were encountered: