summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-12-02 01:07:02 +0000
committereddyg <[email protected]>2008-12-02 01:07:02 +0000
commit29f8a536e11e713e6f8d983aca4405ab017a21e7 (patch)
tree108bc0a97311cdfc82ac63e27c136de60fc531ff /libhb/common.h
parent2dddca5b3135ed939df9cdcaf2e5ffb2e4d7f44f (diff)
Add metadata support to libhb, add importing of MP4 metadata, add export of MP4 metadata, add importing of MP4 chapters, add seek to chapter for input files, add new libmp4v2, remove old MP4 chapter muxing - now in libmp4v2.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1987 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 2a12e8f45..2545e2d50 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -41,6 +41,7 @@ typedef struct hb_chapter_s hb_chapter_t;
typedef struct hb_audio_s hb_audio_t;
typedef struct hb_audio_config_s hb_audio_config_t;
typedef struct hb_subtitle_s hb_subtitle_t;
+typedef struct hb_metadata_s hb_metadata_t;
typedef struct hb_state_s hb_state_t;
typedef union hb_esconfig_u hb_esconfig_t;
typedef struct hb_work_private_s hb_work_private_t;
@@ -432,6 +433,20 @@ struct hb_subtitle_s
#endif
};
+struct hb_metadata_s
+{
+ char name[255];
+ char artist[255];
+ char composer[255];
+ char release_date[255];
+ char comment[1024];
+ char album[255];
+ char genre[255];
+ enum arttype {UNKNOWN, BMP, GIF87A, GIF89A, JPG, PNG, TIFFL, TIFFB} coverart_type;
+ uint32_t coverart_size;
+ uint8_t *coverart;
+};
+
struct hb_title_s
{
char dvd[1024];
@@ -476,6 +491,8 @@ struct hb_title_s
uint32_t palette[16];
+ hb_metadata_t *metadata;
+
hb_list_t * list_chapter;
hb_list_t * list_audio;
hb_list_t * list_subtitle;