Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305997 Details for
Bug 406215
media-tv/xbmc-11.0 with media-video/libav-0.6.5+ fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libav patch
xbmc-11.0-libav.patch (text/plain), 3.12 KB, created by
Tomáš Chvátal (RETIRED)
on 2012-03-20 15:13:53 UTC
(
hide
)
Description:
libav patch
Filename:
MIME Type:
Creator:
Tomáš Chvátal (RETIRED)
Created:
2012-03-20 15:13:53 UTC
Size:
3.12 KB
patch
obsolete
>diff -urN xbmc-11.0-Eden_rc2.old/lib/DllAvFilter.h xbmc-11.0-Eden_rc2/lib/DllAvFilter.h >--- xbmc-11.0-Eden_rc2.old/lib/DllAvFilter.h 2012-03-20 10:37:34.776505751 +0100 >+++ xbmc-11.0-Eden_rc2/lib/DllAvFilter.h 2012-03-20 15:36:35.437818203 +0100 >@@ -48,7 +48,7 @@ > #endif > /* for av_vsrc_buffer_add_frame */ > #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,8,0) >- #include <libavfilter/avcodec.h> >+ #include <libavfilter/vsrc_buffer.h> > #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0) > int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, > AVFrame *frame); >@@ -83,7 +83,11 @@ > virtual int avfilter_poll_frame(AVFilterLink *link)=0; > virtual int avfilter_request_frame(AVFilterLink *link)=0; > #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0) >+#if LIBAVFILTER_VERSION_MICRO > virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int flags)=0; >+#else >+ virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int64_t pts, AVRational pixel_aspect)=0; >+#endif > #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0) > virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame)=0; > #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0) >@@ -172,7 +176,11 @@ > virtual int avfilter_poll_frame(AVFilterLink *link) { return ::avfilter_poll_frame(link); } > virtual int avfilter_request_frame(AVFilterLink *link) { return ::avfilter_request_frame(link); } > #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0) >+#if LIBAVFILTER_VERSION_MICRO > virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int flags) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame, flags); } >+#else >+ virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int64_t pts, AVRational pixel_aspect) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame, pts, pixel_aspect); } >+#endif > #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0) > virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame); } > #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0) >diff -urN xbmc-11.0-Eden_rc2.old/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp xbmc-11.0-Eden_rc2/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp >--- xbmc-11.0-Eden_rc2.old/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp 2012-03-20 10:37:35.141505757 +0100 >+++ xbmc-11.0-Eden_rc2/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp 2012-03-20 15:55:54.451838348 +0100 >@@ -814,7 +814,11 @@ > if (frame) > { > #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0) >+#if LIBAVFILTER_VERSION_MICRO > result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame, 0); >+#else >+ result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame, frame->pts, m_pCodecContext->sample_aspect_ratio); >+#endif > #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0) > result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame); > #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0)
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 406215
:
303635
|
305995
|
305997
|
306407
|
306409
|
307173