FreeBSD Bugzilla – Attachment 54824 Details for
Bug 82931
[PATCH] update multimedia/transcode to 1.0.0rc1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-transcode
patch-transcode (text/plain), 4.29 KB, created by
Jose M Rodriguez
on 2005-07-03 17:20:33 UTC
(
hide
)
Description:
patch-transcode
Filename:
MIME Type:
Creator:
Jose M Rodriguez
Created:
2005-07-03 17:20:33 UTC
Size:
4.29 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82931
: 54824