[vlc-devel] [PATCH 05/12] vlc_player: store title angles

Rémi Denis-Courmont remi at remlab.net
Fri Apr 3 09:10:07 CEST 2020


Le perjantaina 3. huhtikuuta 2020, 10.02.08 EEST Thomas Guillem a écrit :
> On Thu, Apr 2, 2020, at 20:40, Francois Cartegnie wrote:
> > ---
> > 
> >  include/vlc_player.h | 2 ++
> >  src/player/title.c   | 1 +
> >  2 files changed, 3 insertions(+)
> > 
> > diff --git a/include/vlc_player.h b/include/vlc_player.h
> > index 763aae564d..6643f2ebed 100644
> > --- a/include/vlc_player.h
> > +++ b/include/vlc_player.h
> > @@ -963,6 +963,8 @@ struct vlc_player_title
> > 
> >      unsigned flags;
> >      /** Number of chapters, can be 0 */
> >      size_t chapter_count;
> > 
> > +    /** Number of additional viewing angles, usually 0 */
> > +    unsigned char additional_angles;
> 
> If it's a (very small) number, it should be an uint8_t instead of a uchar,
> no ?

What do you mean by that? If it exists, uint8_t necessarily has the same range 
as unsigned char, i.e. 0-255.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list