[MPlayer-dev-eng] Patch - get_property chapters
Kevin DeKorte
kdekorte at gmail.com
Thu Sep 18 16:42:20 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reimar Döffinger wrote:
| 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.
Patch with requested change..
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFI0mjM6w2kMH0L1dERAn/bAJ4orkslsbrK0j7JBGfvOYvFWM3iAACcDIt1
WFXvDRSBjdbdhLzjGTQNPJU=
=JyiW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_property_chapters_v2.diff
Type: text/x-patch
Size: 2641 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080918/b11ee549/attachment.bin>
More information about the MPlayer-dev-eng
mailing list