Quote:
Originally Posted by STaRGaZeR
Now, if just after opening the sample I switch to the PGS track, PGS subs look fine. But again, if I switch to the SRT track, nothing will appear. Stream switching bug here it seems.
|
This is weird. The splitter does send the new media type in the next packet after the switch, which the filter should pick up and act accordingly. I'll test this, i don't think i actually had a sample with different sub types before, so thanks!
Quote:
Originally Posted by Underground78
|
Fixed this, a silly bug was breaking proper audio stream switching. It'll now stop the graph and reconnect the audio filter, so that media type changes are handled properly. This will however cause a brief interruption of playback - but then, you don't change audio streams while watching, you change them once and then watch.
For the broken seeking, i don't know.
If the duration is reported wrong, its a bug in libavformat itself, and would explain the broken seeking.
I can imagine this happening with files that were cut out of a big file. Are your samples out of a file that had the original length before, by any chance?