Skip to content

Commit

Permalink
Resolve "UI Manager example program does not support fragmented MP4"
Browse files Browse the repository at this point in the history
  • Loading branch information
ameci-iis committed Feb 3, 2025
1 parent d1fb996 commit f327763
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/mpeghUiManager/mpeghUiManagerProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ void CUIManagerProcessor::process() {
mpeghTrackReader->nextSample(sample);

while (!sample.empty()) {
// Since the output is a non-fragmented file, reset the read fragment number from
// the input file in case it is fragmented
sample.fragmentNumber = 0;

processSingleSample(sample, sampleCounter);
// Write the sample to the track
mpeghTrackWriter->addSample(sample);
Expand Down

0 comments on commit f327763

Please sign in to comment.