-
59ea8125
by Brendan McGrath at 2026-03-11T14:17:14+01:00
mf/tests: Test decoder node for MARKIN/MARKOUT attributes.
Tests if the decoder topology node is created with the MF_TOPONODE_MARKIN_HERE
and MF_TOPONODE_MARKOUT_HERE attributes set.
-
cd120760
by Brendan McGrath at 2026-03-11T14:17:15+01:00
mf: Add MARKIN/MARKOUT attributes to decoder node.
Adds the MF_TOPONODE_MARKIN_HERE and MF_TOPONODE_MARKOUT_HERE attributes to the
decoder topology node.
-
9e0ee262
by Brendan McGrath at 2026-03-11T14:17:17+01:00
mf/tests: Move logic for sending delayed samples to helper function.
-
7e022ad0
by Brendan McGrath at 2026-03-11T14:17:17+01:00
mf/tests: Modify topology to start with no resolution.
This is required to manually set the MARKIN and MARKOUT attributes.
-
1cc8e0cc
by Brendan McGrath at 2026-03-11T14:17:18+01:00
mf/tests: Test MARKIN will result in a trimmed sample.
After a seek, Media Session may drop all samples with a PTS prior to the seek time.
It will drop the samples if they are output from a TopologyNode with the
MF_TOPONODE_MARKIN_HERE attribute set. If a sample starts before the seek time,
but ends after, it will be trimmed.
A trimmed sample will have its PTS adjusted to match the seek time, and its
duration reduced by the time removed.
If the sample is an uncompressed audio sample, it will also trim the samples content.
Removing the trimmed data from the beginning of the buffer.
-
480d0bcf
by Brendan McGrath at 2026-03-11T14:17:20+01:00
mf: Drop samples from transform if MARKIN_HERE is set.
If a transform node has the MF_TOPONODE_MARKIN_HERE attribute, and outputs a
sample that is prior to the current start time, it will be dropped.
-
293adfd9
by Brendan McGrath at 2026-03-11T14:17:21+01:00
mf: Trim samples from transform if MARKIN_HERE is set.
If a transform node has the MF_TOPONODE_MARKIN_HERE attribute, and outputs a
sample that spans across the current start time, then its sample time will be
updated to match that start time and the duration adjusted accordingly.
If the sample is an audio sample, its data will also be trimmed accordingly.