[MPlayer-dev-eng] Patch - get_property chapters
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 18 16:35:45 CEST 2008
On Thu, Sep 18, 2008 at 09:49:09AM -0400, compn wrote:
> On Thu, 18 Sep 2008 06:54:55 -0600, Kevin DeKorte wrote:
> >Can you consider this patch as well, it is related to the first patch in
> >that it gives ID_CHAPTERS=X when X is greater than 0
> >
> >Kevin
> >[id_chapters.diff text/x-patch (566B)]
>
> >-
> >+ if(mpctx->demuxer->num_chapters > 0)
> >+ mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_CHAPTERS=%d\n", mpctx->demuxer->num_chapters);
> >+
>
> errant whitespace change
> change it to use the existing chapter_num.
Hm, I also think it might be preferable to always print this, even for
num_chapters == 0. I think it eases both parsing and handling of older
MPlayer versions.
More information about the MPlayer-dev-eng
mailing list