diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-11-21 14:34:59 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-11-21 14:34:59 +0000 |
commit | 8cd8053fdbdd4835563fd8ca9dc5eec7af99ddd3 (patch) | |
tree | c1dc43b698d9636f0b4ba4dca79457e0065d5a49 /audio | |
parent | 20417ce3a56bc5928869fb4e2a1009623f63e81f (diff) | |
download | ports-8cd8053fdbdd4835563fd8ca9dc5eec7af99ddd3.tar.gz ports-8cd8053fdbdd4835563fd8ca9dc5eec7af99ddd3.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gtkpod/files/patch-src::mp4file.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/gtkpod/files/patch-src::mp4file.c b/audio/gtkpod/files/patch-src::mp4file.c new file mode 100644 index 000000000000..3d5399d18d11 --- /dev/null +++ b/audio/gtkpod/files/patch-src::mp4file.c @@ -0,0 +1,38 @@ +--- src/mp4file.c.orig 2007-11-02 18:19:06.000000000 +0200 ++++ src/mp4file.c 2007-11-02 18:19:59.000000000 +0200 +@@ -149,7 +149,7 @@ + g_return_val_if_fail (mp4File != MP4_INVALID_FILE_HANDLE, FALSE); + + if (MP4GetMetadataFreeForm(mp4File, "iTunNORM", +- &ppValue, &pValueSize)) ++ &ppValue, &pValueSize, NULL)) + { + gchar *str; + guint sc1=0, sc2=0; +@@ -171,7 +171,7 @@ + } + + if (MP4GetMetadataFreeForm(mp4File, "replaygain_track_gain", +- &ppValue, &pValueSize)) ++ &ppValue, &pValueSize, NULL)) + { + gchar *str; + gdouble rg; +@@ -367,7 +367,7 @@ + u_int8_t *image_data; + u_int32_t image_data_len; + if (MP4GetMetadataCoverArt (mp4File, +- &image_data, &image_data_len)) ++ &image_data, &image_data_len, 0)) + { + if (image_data) + { +@@ -452,7 +452,7 @@ + MP4GetMetadataAlbum (mp4File, &m_album); + MP4GetMetadataGenre (mp4File, &m_genre);*/ + MP4GetMetadataTool (mp4File, &m_tool); +- MP4GetMetadataCoverArt (mp4File, &m_covert, &m_size); ++ MP4GetMetadataCoverArt (mp4File, &m_covert, &m_size, 0); + MP4MetadataDelete (mp4File); + #endif + value = charset_from_utf8 (track->title); |