Open dk2git opened 8 years ago
Hmm, odd. Can you reproduce this in the av_player demo? if so, I can probably fix it easily.
I've never used av_player, however I have 100% reproducibility using the Big Buck Bunny movie (bunny.ogv 4.4 MB) and my simple command line program that displays the video using some ASCII-characters. I can send you this program privately if you'd like. When you run the program, you can see that the video loops indefinitely but the sound plays only once. That is not the case if I link my program with libtheorplayer 1.0.0. With the 1.0.0 lib both the video and sound loop forever as expected.
I was able to determine that this difference in behaviour is caused by changes to TheoraVideoClip.cpp and/or TheoraVideoClip_Theora.cpp and no other files. However I didn't figure out yet what change specifically is responsible for this.
sure, send it to me at kspes<!aT!>cateia{D.O.T}com
This issue is still present in the latest master (18-1-2017)
Reproduce by just starting the av demo. When it reaches the end and loops the video will play fine but the sound will not restart and is silent.
ok, cool, we'll investigate and let you know
As the title says, in looping media files (the ones with AutoRestart property), the sound track no longer seems to restart, only video does. So we have a situation where video plays/loops indefinitely but the sound plays only once.
This didn't seem to be a problem in theoraplayer 1.0.0, so it looks like the issue was introduced after 1.0.0.