Closed neilmendoza closed 5 years ago
are you adding it via ofxOMXPlayerSettings or later?
Yes, I'm adding it using ofxOMXPlayerSettings.
so engineNeedsRestart
only gets set to true when the file is a .h264 file or a network stream. I think this could be solved for the most typical cases just by moving this block above or below
https://github.com/jvcleave/ofxOMXPlayer/blob/master/src/ofxOMXPlayer.cpp#L319
this seemed to work for me - haven't tried a network stream yet
https://github.com/jvcleave/ofxOMXPlayer/commit/3abddf039af83d09f00e01db1841f48f693bd561
Great, thanks!
network stream seems to work as well so closing :)
onVideoLoop isn't called if I add my own listener. Might get some time this week to work out why...