Below a threshold of 90 degrees, the camera stay at the center of the sphere.
Above this threshold, it linearly dependent of the FOVx value.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Previously, the frustum aspect ratio was set in function of the flat video
resolution, which is not related at all to the view frustum shape.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
ExtractIntlStrings is only applicable for a limited range of boxes,
though with the recent changes following its introduction it might be
invoked for entities it is currently not protected from misdiagnosing.
These changes make sure that we only interpret a box inside the
function if:
- the atom is known as a metadata box
- the box has been parsed
- the box has a father, and it is ATOM_udta
The check so that we do not parse boxes that contain a "data"-box has
been removed given that this check is more suitable at where the call
to the function is made.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
The mentioned commit inaccurately assumed that every path within
SetupmdirMeta requires the "metadata" box to have a child of type
"data", which is not the case.
These changes simply changes the behavior so that we invoke the
correct parsing mechanism when it is applicable.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
The previous implementation would assume that we would always have at
least 4 bytes of data left in the pending buffer, which can cause us
to read more bytes than available inside the loop.
This change make sure that we do not continue parsing if this happens.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
The previous implementation would ignore metadata keys unless there
was a mapping to both AppleNameToMeta, and AtomXA9ToMeta, which is of
course erroneous.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
The old DVB plugin generate syntax error messages on valid MRLs that
the normal DTV plugin just fails to open (e.g. due to missing tuner).
This has proven very confusing.