Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373984 Details for
Bug 476534
net-libs/opal-3.10.10 fails with media-video/ffmpeg-2.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
30644-updated-to-yet-another-ffmpeg-libav-api-change.patch
30644-updated-to-yet-another-ffmpeg-libav-api-change.patch (text/plain), 2.11 KB, created by
eroen
on 2014-03-31 20:52:35 UTC
(
hide
)
Description:
30644-updated-to-yet-another-ffmpeg-libav-api-change.patch
Filename:
MIME Type:
Creator:
eroen
Created:
2014-03-31 20:52:35 UTC
Size:
2.11 KB
patch
obsolete
>http://sourceforge.net/p/opalvoip/code/30644/ > >Index: opal/trunk/plugins/video/H.264/h264-x264.cxx >=================================================================== >--- opal/trunk/plugins/video/H.264/h264-x264.cxx (revision 30643) >+++ opal/trunk/plugins/video/H.264/h264-x264.cxx (revision 30644) >@@ -789,9 +789,13 @@ > if (!InitDecoder(CODEC_ID_H264)) > return false; > >+#ifdef FF_IDCT_H264 > m_context->idct_algo = FF_IDCT_H264; >+#else >+ m_context->idct_algo = FF_IDCT_AUTO; >+#endif > m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE; >- m_context->flags2 = CODEC_FLAG2_SKIP_RD | >+ m_context->flags2 = > #ifdef CODEC_FLAG2_DROP_FRAME_TIMECODE > CODEC_FLAG2_DROP_FRAME_TIMECODE | > #endif >Index: opal/trunk/plugins/video/common/ffmpeg.cxx >=================================================================== >--- opal/trunk/plugins/video/common/ffmpeg.cxx (revision 30643) >+++ opal/trunk/plugins/video/common/ffmpeg.cxx (revision 30644) >@@ -179,7 +179,7 @@ > static_cast<FFMPEGCodec *>(ctx->opaque)->GetEncodedFrame()->RTPCallBack(data, size, numMB); > } > >-bool FFMPEGCodec::InitEncoder(CodecID codecId) >+bool FFMPEGCodec::InitEncoder(AVCodecID codecId) > { > PTRACE(5, m_prefix, "Opening encoder"); > >@@ -214,7 +214,7 @@ > } > > >-bool FFMPEGCodec::InitDecoder(CodecID codecId) >+bool FFMPEGCodec::InitDecoder(AVCodecID codecId) > { > if ((m_codec = avcodec_find_decoder(codecId)) == NULL) { > PTRACE(1, m_prefix, "Codec not found for decoder"); >Index: opal/trunk/plugins/video/common/ffmpeg.h >=================================================================== >--- opal/trunk/plugins/video/common/ffmpeg.h (revision 30643) >+++ opal/trunk/plugins/video/common/ffmpeg.h (revision 30644) >@@ -120,8 +120,8 @@ > FFMPEGCodec(const char * prefix, EncodedFrame * fullFrame); > ~FFMPEGCodec(); > >- virtual bool InitEncoder(CodecID codecId); >- virtual bool InitDecoder(CodecID codecId); >+ virtual bool InitEncoder(AVCodecID codecId); >+ virtual bool InitDecoder(AVCodecID codecId); > > bool SetResolution(unsigned width, unsigned height); > void SetEncoderOptions(
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 476534
:
353092
|
368636
| 373984 |
373986