jvcleave / ofxOMXPlayer

OpenMax accelerated video player for openFrameworks on the Raspberry Pi 0-3. Does not work with RPI4
GNU General Public License v2.0
180 stars 61 forks source link

more than 7 videos in data/sources/video folder cause segementation fault #137

Closed zetteeh closed 5 years ago

zetteeh commented 5 years ago

hey, one one of the raspi 3+B models i use i've encountert a strange problem. no matter what i do. the 8th video in my list can never be played. it always crashes before and returns a segmentation fault error.

dosn't matter which video is the 8th, there is always the same result.. any ideas? thanks!

timonsku commented 5 years ago

Hard to help without seeing the code but sounds a lot like an out of bounds error. Maybe your array isnt long enough? Likely not an issue with the addon.

jvcleave commented 5 years ago

Do you see this with example-playlist? With this example you can start it and press n to load the next movie. I don't have the B+ but I am not seeing the issue after loading 8 movies

gepatto commented 5 years ago

@zetteeh Just tested this on a 3B+ with the example-playlist: no problems here. Are you using this example too? If not, check for out of bounds like PTS93 said.