diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-09-18 09:46:45 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-09-18 09:46:45 +0000 |
commit | c599c7787f6cc531b9bf93c31c9f7e3636ecae99 (patch) | |
tree | d09cf18eaf03e563c02032aaa0afebce01e92561 /audio/bmp-faad | |
parent | b1bc2ae8c58d4c070e15bd23d03afef6aefd054a (diff) |
Notes
Diffstat (limited to 'audio/bmp-faad')
-rw-r--r-- | audio/bmp-faad/Makefile | 3 | ||||
-rw-r--r-- | audio/bmp-faad/files/patch-xmms-mp4_utils.c | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile index 8b4bae29748d..230150a86368 100644 --- a/audio/bmp-faad/Makefile +++ b/audio/bmp-faad/Makefile @@ -7,7 +7,7 @@ PORTNAME= faad2 PORTVERSION= 2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= faac @@ -18,6 +18,7 @@ COMMENT= Beep Media Player (BMP) plugin for faad LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \ faad.0:${PORTSDIR}/audio/faad \ + mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \ beep.2:${PORTSDIR}/multimedia/beep-media-player WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/audio/bmp-faad/files/patch-xmms-mp4_utils.c b/audio/bmp-faad/files/patch-xmms-mp4_utils.c new file mode 100644 index 000000000000..0868c822c56d --- /dev/null +++ b/audio/bmp-faad/files/patch-xmms-mp4_utils.c @@ -0,0 +1,20 @@ +--- plugins/xmms/src/mp4_utils.c.orig Thu Dec 4 03:37:56 2003 ++++ plugins/xmms/src/mp4_utils.c Sun Sep 18 00:00:40 2005 +@@ -54,7 +54,7 @@ + const char *trackType = MP4GetTrackType(file, trackID); + if(!strcmp(trackType, MP4_AUDIO_TRACK_TYPE)){//we found audio track ! + int j=0; +- u_int8_t audiotype = MP4GetTrackAudioType(file, trackID); ++ u_int8_t audiotype = MP4GetTrackEsdsObjectTypeId(file, trackID); + while(mp4AudioTypes[j]){ // what kind of audio is ? + if(mp4AudioTypes[j] == audiotype){ + if(mp4AudioTypes[j] == MP4_MPEG4_AUDIO_TYPE){//MPEG4 audio ok +@@ -126,7 +126,7 @@ + printf("Track %d, %s", trackID, trackType); + if(!strcmp(trackType, MP4_AUDIO_TRACK_TYPE)){//we found audio track ! + int j=0; +- u_int8_t audiotype = MP4GetTrackAudioType(mp4file, trackID); ++ u_int8_t audiotype = MP4GetTrackEsdsObjectTypeId(mp4file, trackID); + while(mp4AudioTypes[j]){ // what kind of audio is ? + if(mp4AudioTypes[j] == audiotype){ + if(mp4AudioTypes[j] == MP4_MPEG4_AUDIO_TYPE){ |