Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 18:10:37 +0200 (CEST)
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hendrik@scholz.net
Subject:   ports/82931: [PATCH] update multimedia/transcode to 1.0.0rc1
Message-ID:  <200507031610.j63GAbvJ075008@redesjm.local>
Resent-Message-ID: <200507031620.j63GKXxa071546@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82931
>Category:       ports
>Synopsis:       [PATCH] update multimedia/transcode to 1.0.0rc1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 16:20:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jose M Rodriguez
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
RedesJM
>Environment:
System: FreeBSD orion.redesjm.local 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #0: Thu Jun 30 23:20:37 CEST 2005 root@orion.redesjm.local:/usr/obj/usr/src/sys/ORION2 i386


>Description:
	Update multimedia/transcode to the latest RC
	This version has support for latest avcodec API change
	and can be build/use against ffmpeg-devel

>How-To-Repeat:
>Fix:

--- patch-transcode begins here ---
diff -Nru /usr/ports/multimedia/transcode/Makefile multimedia/transcode/Makefile
--- /usr/ports/multimedia/transcode/Makefile	Tue May 31 22:45:28 2005
+++ multimedia/transcode/Makefile	Sun Jul  3 15:38:38 2005
@@ -6,11 +6,9 @@
 #
 
 PORTNAME=	transcode
-DISTVERSION=	1.0.0beta3
-PORTREVISION=	2
+DISTVERSION=	1.0.0rc1
 CATEGORIES=	multimedia
-MASTER_SITES=	http://dl.fkb.wormulon.net/transcode/ \
-		http://dl.kel.wormulon.net/transcode/ \
+MASTER_SITES=	http://rebels.plukwa.net/linux-video/transcode/ \
 		http://www.jakemsr.com/transcode/
 
 MAINTAINER=	hendrik@scholz.net
diff -Nru /usr/ports/multimedia/transcode/distinfo multimedia/transcode/distinfo
--- /usr/ports/multimedia/transcode/distinfo	Wed May 11 17:04:48 2005
+++ multimedia/transcode/distinfo	Sun Jul  3 15:39:58 2005
@@ -1,2 +1,2 @@
-MD5 (transcode-1.0.0beta3.tar.gz) = 963645ae3c08363d8035e874dffc89e7
-SIZE (transcode-1.0.0beta3.tar.gz) = 2346963
+MD5 (transcode-1.0.0rc1.tar.gz) = bda8422a8b2fb83e5c750743b688b7a3
+SIZE (transcode-1.0.0rc1.tar.gz) = 2349974
diff -Nru /usr/ports/multimedia/transcode/files/patch-import:af6_decore.cpp multimedia/transcode/files/patch-import:af6_decore.cpp
--- /usr/ports/multimedia/transcode/files/patch-import:af6_decore.cpp	Thu Jan  1 01:00:00 1970
+++ multimedia/transcode/files/patch-import:af6_decore.cpp	Sun Jul  3 17:07:56 2005
@@ -0,0 +1,58 @@
+--- import/af6_decore.cpp.orig	Sun Jul  3 17:03:28 2005
++++ import/af6_decore.cpp	Sun Jul  3 17:03:48 2005
+@@ -213,7 +213,7 @@
+ 
+       /* send sync token */
+       fflush(stdout);
+-      p_write(decode->fd_out, sync_str, sizeof(sync_str));
++      p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str));
+ 
+       /* frame serve loop */
+       /* by default decode->frame_limit[0]=0 and ipipe->frame_limit[1]=LONG_MAX so all frames are decoded */
+@@ -268,13 +268,13 @@
+ 		    }
+ 		  }
+ 		  /* write unpacked frame */
+-		  if(p_write(decode->fd_out, pack_buffer, pack_size)!= pack_size) {
++		  if(p_write(decode->fd_out, (uint8_t*)pack_buffer, pack_size)!= pack_size) {
+ 		    fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__);
+ 		    break;
+ 		  }
+ 		} else {
+ 		  /* directly write raw frame */
+-		  if(p_write(decode->fd_out, buf, buffer_size)!= buffer_size) {
++		  if(p_write(decode->fd_out, (uint8_t*)buf, buffer_size)!= buffer_size) {
+ 		    fprintf(stderr,"(%s) ERROR: Pipe write error!\n",__FILE__);
+ 		    break;
+ 		  }
+@@ -368,7 +368,7 @@
+ 
+       /* send sync token */
+       fflush(stdout);
+-      p_write(decode->fd_out, sync_str, sizeof(sync_str));
++      p_write(decode->fd_out, (uint8_t*)sync_str, sizeof(sync_str));
+       
+       /* sample server loop */
+       while(!ars->Eof()) { 
+@@ -393,18 +393,18 @@
+ 	{
+ 		if ( s_byte_read - ret_size <(unsigned int)decode->frame_limit[0])
+ 		{
+-			if((unsigned int)p_write(decode->fd_out,buffer+(ret_size-(s_byte_read-decode->frame_limit[0])),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) 
++			if((unsigned int)p_write(decode->fd_out,(uint8_t*)(buffer+(ret_size-(s_byte_read-decode->frame_limit[0]))),(s_byte_read-decode->frame_limit[0]))!=(unsigned int)(s_byte_read-decode->frame_limit[0])) 
+ 			  	break;
+ 		}
+ 		else
+ 		{
+-			if((unsigned int)p_write(decode->fd_out,buffer,ret_size)!=ret_size) 
++			if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,ret_size)!=ret_size) 
+ 			  break;
+ 		}
+ 	}
+ 	else if ((s_byte_read> decode->frame_limit[0]) && (s_byte_read - ret_size <=(unsigned int)decode->frame_limit[1]))
+ 	{
+-		if((unsigned int)p_write(decode->fd_out,buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) 
++		if((unsigned int)p_write(decode->fd_out,(uint8_t*)buffer,(s_byte_read-decode->frame_limit[1]))!=(unsigned int)(s_byte_read-decode->frame_limit[1])) 
+ 		 	break;
+ 	}
+ 	else if (s_byte_read - ret_size >(unsigned int)decode->frame_limit[1])
diff -Nru /usr/ports/multimedia/transcode/pkg-plist multimedia/transcode/pkg-plist
--- /usr/ports/multimedia/transcode/pkg-plist	Wed May 11 17:04:48 2005
+++ multimedia/transcode/pkg-plist	Sun Jul  3 17:38:46 2005
@@ -119,6 +119,7 @@
 lib/transcode/import_ac3.so
 %%WITH_AVIFILE%%lib/transcode/import_af6.so
 lib/transcode/import_avi.so
+lib/transcode/import_bsdav.so
 lib/transcode/import_divx.so
 lib/transcode/import_dv.so
 lib/transcode/import_dvd.so
--- patch-transcode ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507031610.j63GAbvJ075008>