diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 15:10:07 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 15:10:07 +0000 |
commit | 63be235b48bf307f24aa32050dba98e8f36b9e22 (patch) | |
tree | 218d7b9b0579d1a51e598fa658ef016294a95019 /x11-misc/xvidcap | |
parent | Version bump. (diff) | |
download | gentoo-2-63be235b48bf307f24aa32050dba98e8f36b9e22.tar.gz gentoo-2-63be235b48bf307f24aa32050dba98e8f36b9e22.tar.bz2 gentoo-2-63be235b48bf307f24aa32050dba98e8f36b9e22.zip |
Version bump.
(Portage version: 2.1.1_pre4)
(Signed Manifest commit)
Diffstat (limited to 'x11-misc/xvidcap')
-rw-r--r-- | x11-misc/xvidcap/Manifest | 55 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/digest-xvidcap-1.1.3-r4 | 3 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.3-configure.patch | 12 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.3-ffmpeg.patch | 263 | ||||
-rw-r--r-- | x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild | 75 |
5 files changed, 34 insertions, 374 deletions
diff --git a/x11-misc/xvidcap/Manifest b/x11-misc/xvidcap/Manifest index e982f392e02e..b8dfdfdf77ca 100644 --- a/x11-misc/xvidcap/Manifest +++ b/x11-misc/xvidcap/Manifest @@ -1,33 +1,46 @@ -MD5 a6efc8f26ad07498e8d54e518810a7f5 ChangeLog 2821 -RMD160 6ad0f6797a1e9944c4768b6d3fbe619a0887e11e ChangeLog 2821 -SHA256 bc06b45b512a9f6006ca7cf19ce3e1efa3f2b4b4843ad2dde2d846260a397eec ChangeLog 2821 -MD5 047783d7053abeeba8c83d8590183f23 files/digest-xvidcap-1.1.3-r3 244 -RMD160 1f84bd94f681f4899e4cf56421a45ad4c4f0526a files/digest-xvidcap-1.1.3-r3 244 -SHA256 1dfe82776b2d19a1c55db1e413f5ae9ea5bf74e2f36c1049df7a0f7145aed759 files/digest-xvidcap-1.1.3-r3 244 -MD5 047783d7053abeeba8c83d8590183f23 files/digest-xvidcap-1.1.3-r4 244 -RMD160 1f84bd94f681f4899e4cf56421a45ad4c4f0526a files/digest-xvidcap-1.1.3-r4 244 -SHA256 1dfe82776b2d19a1c55db1e413f5ae9ea5bf74e2f36c1049df7a0f7145aed759 files/digest-xvidcap-1.1.3-r4 244 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX xvidcap-1.1.3-alpha_mask.patch 429 RMD160 12e6fcdc2548b44abf5df895eee58d48ffda6951 SHA1 acd2cff9e2c6d7abcd1fcc9e7c07f4c2863f0ddd SHA256 0df34b4351c2ef70d93243ff15feb7608831a6a9841195559d9c096d809eafd0 MD5 2d4c4432c7e3f9aa7bbd67a806429c07 files/xvidcap-1.1.3-alpha_mask.patch 429 RMD160 12e6fcdc2548b44abf5df895eee58d48ffda6951 files/xvidcap-1.1.3-alpha_mask.patch 429 SHA256 0df34b4351c2ef70d93243ff15feb7608831a6a9841195559d9c096d809eafd0 files/xvidcap-1.1.3-alpha_mask.patch 429 -MD5 c1882a14a3c4a67c4bc06199bbb6db23 files/xvidcap-1.1.3-configure.patch 919 -RMD160 189a581c1a9b694bc91bc346fa36149b1d778987 files/xvidcap-1.1.3-configure.patch 919 -SHA256 e4d281b44dbc56e6bba35a967da85ce86a6693df377377b8a626790c72641d05 files/xvidcap-1.1.3-configure.patch 919 -MD5 6ff5f30ca8c8480a4ffe30b25e690582 files/xvidcap-1.1.3-ffmpeg.patch 11667 -RMD160 547f9ab1df409d40e993cc86f7458bc7b345c2e5 files/xvidcap-1.1.3-ffmpeg.patch 11667 -SHA256 3129454b81b5b89262d6d085c3ada77c65a416d617e21a54907935cd7b4a6071 files/xvidcap-1.1.3-ffmpeg.patch 11667 +AUX xvidcap-1.1.3-new-ffmpeg.patch 2200 RMD160 f69090e799a8807cc5cf8d6681ea512382275484 SHA1 ee86b5cf80c9a32eda36dd7261c76ec828acd793 SHA256 2d9b1f76414824ae1f78ae76dcf56d785df887d29ae90664172380ecdae76734 MD5 093c63bdced794db036ee6ea29df14bd files/xvidcap-1.1.3-new-ffmpeg.patch 2200 RMD160 f69090e799a8807cc5cf8d6681ea512382275484 files/xvidcap-1.1.3-new-ffmpeg.patch 2200 SHA256 2d9b1f76414824ae1f78ae76dcf56d785df887d29ae90664172380ecdae76734 files/xvidcap-1.1.3-new-ffmpeg.patch 2200 +AUX xvidcap-1.1.3-use-ffmpeg-0.4.9.patch 573 RMD160 ce728ff9ac1adc28bcb43e62a6b90755763585e6 SHA1 f3d01c70334bdc0138d63d1b56f93dc9a16a33f5 SHA256 effd63602ef1f1b77ae077261bcc5671166ea268f3ff42277a4d364e8ca60e83 MD5 588ec359065346a6c3413d4ce9427ec5 files/xvidcap-1.1.3-use-ffmpeg-0.4.9.patch 573 RMD160 ce728ff9ac1adc28bcb43e62a6b90755763585e6 files/xvidcap-1.1.3-use-ffmpeg-0.4.9.patch 573 SHA256 effd63602ef1f1b77ae077261bcc5671166ea268f3ff42277a4d364e8ca60e83 files/xvidcap-1.1.3-use-ffmpeg-0.4.9.patch 573 -MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166 -RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166 -SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata.xml 166 +DIST xvidcap-1.1.3.tar.gz 1627036 RMD160 cc7be360153f192b502ffedc6548cce163a9154c SHA256 21909257a46f67f37a6b3eedda5023490bf1e02946ae7c56d4b6f782087013d7 +DIST xvidcap-1.1.4pre3.tar.gz 2846646 RMD160 9310144cf98333530ba4903d9a14518b4e17b107 SHA1 9d4fb3891687f3780750bba3a51991d17d52f642 SHA256 1ceb0d4ad3c7831f2de703ed48790b4c4320621e4e6bccde7305945e2431e931 +EBUILD xvidcap-1.1.3-r3.ebuild 1441 RMD160 54a7b7e5f68f9802289a63822573de4195e0ffbd SHA1 3bf26fccd95972c5a3f75af52e90158963e1cdcc SHA256 868dbc8704fda5dbecc268d5bc81183f377cdcb4efff969fd669f3a694e428fc MD5 3ba37bd62b814eceaab8db9154a9e9d4 xvidcap-1.1.3-r3.ebuild 1441 RMD160 54a7b7e5f68f9802289a63822573de4195e0ffbd xvidcap-1.1.3-r3.ebuild 1441 SHA256 868dbc8704fda5dbecc268d5bc81183f377cdcb4efff969fd669f3a694e428fc xvidcap-1.1.3-r3.ebuild 1441 -MD5 6b81d070a80969b68109e3e494f76b2f xvidcap-1.1.3-r4.ebuild 1501 -RMD160 1b0a9c3741baca93a854c26733218d5c1f007649 xvidcap-1.1.3-r4.ebuild 1501 -SHA256 2e56bd8d4355c7601e99d79b89365ea73cce7984568bfe1b062387b95bf96e44 xvidcap-1.1.3-r4.ebuild 1501 +EBUILD xvidcap-1.1.4_pre3.ebuild 1038 RMD160 9fa87a6d64dcadb4df8071be301b202b30fe51ed SHA1 82d50ebe41e4eb5b73b61e593201e352bf11fb23 SHA256 af9ae62731758e72e2dd95b45ec8cdbc7902e7531a456c9aefdce330ab81dcd0 +MD5 286f822d5f8b08a7c9478c1ad8922c26 xvidcap-1.1.4_pre3.ebuild 1038 +RMD160 9fa87a6d64dcadb4df8071be301b202b30fe51ed xvidcap-1.1.4_pre3.ebuild 1038 +SHA256 af9ae62731758e72e2dd95b45ec8cdbc7902e7531a456c9aefdce330ab81dcd0 xvidcap-1.1.4_pre3.ebuild 1038 +MISC ChangeLog 3057 RMD160 52e64e28973410beaccc672884746dfde28f1e8c SHA1 0f8686c9110b9979bf9097cbb1c69c4e1143547b SHA256 937c6d15a8a0be235dd97eb9457066bd2433ba9a832160c074abaf1b0cc4c734 +MD5 70423e6a5d839e3c6df78b0eedd458d5 ChangeLog 3057 +RMD160 52e64e28973410beaccc672884746dfde28f1e8c ChangeLog 3057 +SHA256 937c6d15a8a0be235dd97eb9457066bd2433ba9a832160c074abaf1b0cc4c734 ChangeLog 3057 +MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 +MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166 +RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166 +SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata.xml 166 +MD5 047783d7053abeeba8c83d8590183f23 files/digest-xvidcap-1.1.3-r3 244 +RMD160 1f84bd94f681f4899e4cf56421a45ad4c4f0526a files/digest-xvidcap-1.1.3-r3 244 +SHA256 1dfe82776b2d19a1c55db1e413f5ae9ea5bf74e2f36c1049df7a0f7145aed759 files/digest-xvidcap-1.1.3-r3 244 +MD5 2f570db0941956884c8b9ed62e2d7e1f files/digest-xvidcap-1.1.4_pre3 256 +RMD160 2f55645169e2f1a97bbcb82441d733926c2e8035 files/digest-xvidcap-1.1.4_pre3 256 +SHA256 5f6411e07e3403b0015e32f1887e8acd3949081b5c030e819d4588cb2f3c2af7 files/digest-xvidcap-1.1.4_pre3 256 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFEy3pego/w9rxVVVERApmhAJ9Xiw8Jgpf46j20nNEGxIZwDDDJDgCfcgfW +PWOFt8EjAJXQ2/aEK0yArJI= +=FkeU +-----END PGP SIGNATURE----- diff --git a/x11-misc/xvidcap/files/digest-xvidcap-1.1.3-r4 b/x11-misc/xvidcap/files/digest-xvidcap-1.1.3-r4 deleted file mode 100644 index e37fe8e3fca0..000000000000 --- a/x11-misc/xvidcap/files/digest-xvidcap-1.1.3-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ea896ffd35d6fe6d2abf51b38605f5fd xvidcap-1.1.3.tar.gz 1627036 -RMD160 cc7be360153f192b502ffedc6548cce163a9154c xvidcap-1.1.3.tar.gz 1627036 -SHA256 21909257a46f67f37a6b3eedda5023490bf1e02946ae7c56d4b6f782087013d7 xvidcap-1.1.3.tar.gz 1627036 diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.3-configure.patch b/x11-misc/xvidcap/files/xvidcap-1.1.3-configure.patch deleted file mode 100644 index 4864124e93fb..000000000000 --- a/x11-misc/xvidcap/files/xvidcap-1.1.3-configure.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nru xvidcap-1.1.3.vanilla/configure.ac xvidcap-1.1.3/configure.ac ---- xvidcap-1.1.3.vanilla/configure.ac 2004-02-14 15:29:20.000000000 +0100 -+++ xvidcap-1.1.3/configure.ac 2006-02-14 11:47:05.000000000 +0100 -@@ -213,7 +213,7 @@ - #check for audio suport in FFMPEG - if ( test x${ac_cv_lib_avformat_avienc_init} = xyes ) ; then - test x`(uname -s)` = xSunOS && ac_my_avformat_libs="-lnsl -lsocket" -- AC_CHECK_LIB_STATIC(avformat, audio_init,[ac_my_have_ffmpeg_audio="1"],[unset ac_cv_lib_avformat_audio_open ; AC_CHECK_LIB(avformat, audio_init,[ac_my_have_ffmpeg_audio="1"],[ac_my_have_ffmpeg_audio="0"],[$ac_my_avformat_libs])],[$ac_my_avformat_libs]) -+ AC_CHECK_LIB_STATIC(avformat, audio_init,[ac_my_have_ffmpeg_audio="1"],[unset ac_cv_lib_avformat_audio_init ; AC_CHECK_LIB(avformat, audio_init,[ac_my_have_ffmpeg_audio="1"],[ac_my_have_ffmpeg_audio="0"],[$ac_my_avformat_libs])],[$ac_my_avformat_libs]) - fi - - diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.3-ffmpeg.patch b/x11-misc/xvidcap/files/xvidcap-1.1.3-ffmpeg.patch deleted file mode 100644 index 36d390e8d4ff..000000000000 --- a/x11-misc/xvidcap/files/xvidcap-1.1.3-ffmpeg.patch +++ /dev/null @@ -1,263 +0,0 @@ ---- xvidcap-1.1.3/src/xtoffmpeg.c 2004-02-15 20:00:54.000000000 +0100 -+++ xtoffmpeg.c 2006-02-12 20:21:13.000000000 +0100 -@@ -164,14 +164,14 @@ - if (!audio_buf || !audio_out) - return; /* Should signal an error ! */ - -- enc = &ost->st->codec; -+ enc = ost->st->codec; - - // resampling is only used for pipe input here - if (ost->audio_resample) { - buftmp = audio_buf; - size_out = audio_resample (ost->resample, - (short *)buftmp, (short *)buf, -- size / (ist->st->codec.channels * 2)); -+ size / (ist->st->codec->channels * 2)); - size_out = size_out * enc->channels * 2; - } else { - buftmp = buf; -@@ -191,13 +191,18 @@ - ret = avcodec_encode_audio (enc, audio_out, audio_out_size, - (short *)audio_buf); - --// audio_pts = (double)au_out_st->st->pts.val * output_file->pts_num / output_file->pts_den; --// video_pts = (double)out_st->pts.val * output_file->pts_num / output_file->pts_den; -+ // audio_pts = (double)au_out->st->pts.val * au_out->st->pts.num / au_out->st->pts.den; -+ // video_pts = (double)out->st->pts.val * out->st->pts.num / out->st->pts.den; - - // if ( audio_pts < video_pts && pthread_mutex_trylock (&mp) == 0 ) { - if ( pthread_mutex_trylock (&mp) == 0 ) { -- /* write the compressed frame in the media file */ -- if (av_write_frame (s, ost->st->index, audio_out, ret) != 0) { -+ /* write the compressed frame in the media file */ -+ AVPacket _pkt, *pkt = &_pkt; -+ av_init_packet (pkt); -+ pkt->stream_index = ost->st->index; -+ pkt->data = audio_out; -+ pkt->size = ret; -+ if (av_write_frame (output_file, pkt) != 0) { - fprintf (stderr, "Error while writing audio frame\n"); - exit (1); - } -@@ -269,23 +274,22 @@ - //FIXME: this needs to get more sophisticated for pausing efficiently ... - if (job->state == VC_REC ) { - -- audio_pts = (double)au_out_st->st->pts.val * output_file->pts_num / output_file->pts_den; -- video_pts = (double)out_st->pts.val * output_file->pts_num / output_file->pts_den; -+ //audio_pts = (double)au_out_st->st->pts.val * output_file->pts_num / output_file->pts_den; -+ // video_pts = (double)out_st->pts.val * output_file->pts_num / output_file->pts_den; -+ audio_pts = 0; video_pts = 1; - - if ( audio_pts < video_pts ) { -- -- -- /* read a packet from it and output it in the fifo */ -- if (av_read_packet (ic, &pkt) < 0) { -+ /* read a packet from it and output it in the fifo */ -+ if (av_read_packet (ic, &pkt) < 0) { - fprintf (stderr, "error reading audio packet\n"); -- } else { -+ } else { - // printf ("input stream #%d, size=%d:\n", pkt.stream_index, pkt.size); - // av_hex_dump(pkt.data, pkt.size); -- } -- -- len = pkt.size; -- ptr = pkt.data; -- while (len > 0) { -+ } -+ -+ len = pkt.size; -+ ptr = pkt.data; -+ while (len > 0) { - /* decode the packet if needed */ - data_buf = NULL; /* fail safe */ - data_size = 0; -@@ -311,8 +315,8 @@ - - /* XXX: could avoid copy if PCM 16 bits with same - endianness as CPU */ -- retval = avcodec_decode_audio (&au_in_st->st->codec, samples, &data_size, -- ptr, len); -+ retval = avcodec_decode_audio (au_in_st->st->codec, samples, &data_size, -+ ptr, len); - if (retval < 0) { - fprintf (stderr, "couldn't decode captured audio packet\n"); - break; -@@ -342,11 +346,11 @@ - au_in_st->frame_decoded = 1; - - do_audio_out (output_file, au_out_st, au_in_st, data_buf, data_size); -- -- } -- // discard packet -- av_free_packet (&pkt); -- -+ -+ } -+ // discard packet -+ av_free_packet (&pkt); -+ - } // end if pts ... - } // end if VC_REC - // get end time -@@ -682,7 +686,7 @@ - exit (1); - } - -- c = &out_st->codec; -+ c = out_st->codec; - c->codec_id = transCodec; - c->codec_type = CODEC_TYPE_VIDEO; - -@@ -696,8 +700,10 @@ - #endif /* DEBUG */ - - /* frames per second */ -- c->frame_rate = job->fps; -- c->frame_rate_base = 1; -+ /*c->frame_rate = job->fps; -+ c->frame_rate_base = 1;*/ -+ c->time_base.den = job->fps * 1000; -+ c->time_base.num = 1000; - c->gop_size = 250; /* emit one intra frame every 10 frames */ - // c->me_method = ME_EPZS; - // c->debug = 0x00000FFF; -@@ -707,10 +713,13 @@ - */ - memset (p_fParams, 0, sizeof(*p_fParams)); - p_fParams->image_format = image_format; -- p_fParams->frame_rate = out_st->codec.frame_rate; -+ /*p_fParams->frame_rate = out_st->codec.frame_rate; - p_fParams->frame_rate_base = out_st->codec.frame_rate_base; - p_fParams->width = out_st->codec.width; -- p_fParams->height = out_st->codec.height; -+ p_fParams->height = out_st->codec.height;*/ -+ p_fParams->time_base = out_st->codec->time_base; -+ p_fParams->width = out_st->codec->width; -+ p_fParams->height = out_st->codec->height; - if (av_set_parameters (output_file, p_fParams) < 0) { - // if (av_set_parameters(output_file, NULL) < 0) { - fprintf (stderr, "xtoffmpeg.XImageToFFMPEG(): Invalid encoding parameters ... aborting\n"); -@@ -720,7 +729,8 @@ - /* - * open codec - */ -- c = &out_st->codec; -+ c = out_st->codec; -+ c->pix_fmt = PIX_FMT_YUV420P; - - /* find the video encoder */ - codec = avcodec_find_encoder (c->codec_id); -@@ -822,7 +832,8 @@ - fprintf (stderr, "Could not alloc stream\n"); - exit (1); - } -- au_out_st->st->codec = *au_c; -+ -+ au_out_st->st->codec = au_c; - - if (fifo_init (&au_out_st->fifo, 2 * MAX_AUDIO_PACKET_SIZE)) { - fprintf (stderr, "Can't initialize fifo for audio recording\n"); -@@ -837,22 +848,22 @@ - // Once we get support for dubbing from a pipe or a different - // file, we might have different sample rates or no of channels - // in the input file..... -- if (au_c->channels == au_in_st->st->codec.channels && -- au_c->sample_rate == au_in_st->st->codec.sample_rate) { -+ if (au_c->channels == au_in_st->st->codec->channels && -+ au_c->sample_rate == au_in_st->st->codec->sample_rate) { - au_out_st->audio_resample = 0; - } else { -- if (au_c->channels != au_in_st->st->codec.channels && -- au_in_st->st->codec.codec_id == CODEC_ID_AC3) { -+ if (au_c->channels != au_in_st->st->codec->channels && -+ au_in_st->st->codec->codec_id == CODEC_ID_AC3) { - /* Special case for 5:1 AC3 input */ - /* and mono or stereo output */ - /* Request specific number of channels */ -- au_in_st->st->codec.channels = au_c->channels; -- if (au_c->sample_rate == au_in_st->st->codec.sample_rate) -+ au_in_st->st->codec->channels = au_c->channels; -+ if (au_c->sample_rate == au_in_st->st->codec->sample_rate) - au_out_st->audio_resample = 0; - else { - au_out_st->audio_resample = 1; -- au_out_st->resample = audio_resample_init (au_c->channels, au_in_st->st->codec.channels, -- au_c->sample_rate, au_in_st->st->codec.sample_rate); -+ au_out_st->resample = audio_resample_init (au_c->channels, au_in_st->st->codec->channels, -+ au_c->sample_rate, au_in_st->st->codec->sample_rate); - if(!au_out_st->resample) { - printf ("Can't resample. Aborting.\n"); - exit (1); -@@ -860,11 +871,11 @@ - } - } - /* Request specific number of channels */ -- au_in_st->st->codec.channels = au_c->channels; -+ au_in_st->st->codec->channels = au_c->channels; - } else { - au_out_st->audio_resample = 1; -- au_out_st->resample = audio_resample_init (au_c->channels, au_in_st->st->codec.channels, -- au_c->sample_rate, au_in_st->st->codec.sample_rate); -+ au_out_st->resample = audio_resample_init (au_c->channels, au_in_st->st->codec->channels, -+ au_c->sample_rate, au_in_st->st->codec->sample_rate); - if(!au_out_st->resample) { - printf ("Can't resample. Aborting.\n"); - exit (1); -@@ -876,19 +887,19 @@ - au_out_st->encoding_needed = 1; - - // open encoder -- au_codec = avcodec_find_encoder (au_out_st->st->codec.codec_id); -- if (avcodec_open (&au_out_st->st->codec, au_codec) < 0) { -+ au_codec = avcodec_find_encoder (au_out_st->st->codec->codec_id); -+ if (avcodec_open (au_out_st->st->codec, au_codec) < 0) { - fprintf (stderr, "Error while opening codec for output stream\n"); - exit (1); - } - - // open decoder -- au_codec = avcodec_find_decoder (ic->streams[0]->codec.codec_id); -+ au_codec = avcodec_find_decoder (ic->streams[0]->codec->codec_id); - if (!au_codec) { - fprintf (stderr, "Unsupported codec (id=%d) for input stream\n"); - exit (1); - } -- if (avcodec_open (&ic->streams[0]->codec, au_codec) < 0) { -+ if (avcodec_open (ic->streams[0]->codec, au_codec) < 0) { - fprintf (stderr, "Error while opening codec for input stream\n"); - exit (1); - } -@@ -1112,12 +1123,17 @@ - exit (1); - } - // the following bit is for synching audio and video streams ... -- audio_pts = (double)au_out_st->st->pts.val * output_file->pts_num / output_file->pts_den; -- video_pts = (double)out_st->pts.val * output_file->pts_num / output_file->pts_den; -+ // audio_pts = (double)au_out_st->st->pts.val * output_file->pts_num / output_file->pts_den; -+ // video_pts = (double)out_st->pts.val * output_file->pts_num / output_file->pts_den; - } - #endif // HAVE_FFMPEG_AUDIO - /* write frame to file */ -- av_write_frame (output_file, out_st->index, outbuf, out_size); -+ AVPacket _pkt, *pkt = &_pkt; -+ av_init_packet (pkt); -+ pkt->stream_index = out_st->index; -+ pkt->data = outbuf; -+ pkt->size = out_size; -+ av_write_frame (output_file, pkt); - #ifdef HAVE_FFMPEG_AUDIO - /* release the mutex */ - if (job->flags & FLG_AUDIO_WANTED) { -@@ -1154,7 +1170,7 @@ - #endif // HAVE_FFMPEG_AUDIO - - if (out_st) { -- avcodec_close (&out_st->codec); -+ avcodec_close (out_st->codec); - out_st = NULL; - } - diff --git a/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild b/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild deleted file mode 100644 index 6a7248856fc3..000000000000 --- a/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild,v 1.2 2006/02/16 19:54:03 nelchael Exp $ - -inherit eutils autotools - -IUSE="gtk" - -DESCRIPTION="Screen capture utility enabling you to create videos of your desktop for illustration or documentation purposes." -HOMEPAGE="http://xvidcap.sourceforge.net/" -SRC_URI="mirror://sourceforge/xvidcap/${P}.tar.gz" - -KEYWORDS="~amd64 ~ppc ~x86" -LICENSE="GPL-2" - -RDEPEND="gtk? ( >=x11-libs/gtk+-2.0.0 ) - >=media-video/ffmpeg-0.4.9_pre1 - media-libs/libpng - media-libs/jpeg - sys-libs/zlib - !gtk? ( - || ( ( - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libXext ) - virtual/x11 ) - )" - -DEPEND="${RDEPEND} - !gtk? ( - || ( ( - x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/videoproto - x11-proto/xproto ) - virtual/x11 ) - )" - -SLOT="0" - -src_unpack() { - - unpack "${A}" - cd "${S}" - - # Fix bug #62741 and bug #115675: - epatch "${FILESDIR}/${P}-ffmpeg.patch" - - # Fix bug #120551: - epatch "${FILESDIR}/${P}-alpha_mask.patch" - - # Fix broken configure (bug #122592): - epatch "${FILESDIR}/${P}-configure.patch" - - eautoreconf - -} - -src_compile() { - - econf `use_with gtk gtk2` || die "Configuration failed" - emake || die "Compilation failed" - -} - -src_install() { - - einstall || die "Installation failed" - - # Fix for #58322 - rm -fr ${D}/usr/share/doc/${PN}_${PV} - dodoc NEWS TODO README AUTHORS ChangeLog XVidcap.ad - -} |