summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
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.c
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.c')
-rw-r--r--libhb/common.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 7d26905a6..0ddcccef5 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -674,6 +674,15 @@ void hb_title_close( hb_title_t ** _t )
}
hb_list_close( &t->list_subtitle );
+ if( t->metadata )
+ {
+ if( t->metadata->coverart )
+ {
+ free( t->metadata->coverart );
+ }
+ free( t->metadata );
+ }
+
free( t );
*_t = NULL;
}