Mercurial > libavformat.hg
changeset 1301:8b14b8103d9f libavformat
enable setting the year and track number using AVOption
Patch by Takis
Original thread:
Date: Sep 6, 2006 5:43 PM
Subject: [Ffmpeg-devel] [PATCH] Enhance genre, year and track tag
support
author | gpoirier |
---|---|
date | Fri, 08 Sep 2006 12:28:28 +0000 |
parents | c87b57a53062 |
children | 4b3fbb5bd20a |
files | utils.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri Sep 08 12:12:38 2006 +0000 +++ b/utils.c Fri Sep 08 12:28:28 2006 +0000 @@ -469,6 +469,8 @@ {"fflags", NULL, OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, INT_MIN, INT_MAX, D, "fflags"}, {"ignidx", "ignore index", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_IGNIDX, INT_MIN, INT_MAX, D, "fflags"}, {"genpts", "generate pts", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_GENPTS, INT_MIN, INT_MAX, D, "fflags"}, +{"track", " set the track number", OFFSET(track), FF_OPT_TYPE_INT, DEFAULT, 1, INT_MAX, E}, +{"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E}, {NULL}, };