From 63d73aa8995955effa1a5bcd33db0487bb291967 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 25 Oct 2011 00:15:25 +0300 Subject: modified: dolphin-emu-9999.ebuild new file: files/libav.patch --- games-emulation/dolphin-emu/dolphin-emu-9999.ebuild | 4 ++++ games-emulation/dolphin-emu/files/libav.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 games-emulation/dolphin-emu/files/libav.patch (limited to 'games-emulation') diff --git a/games-emulation/dolphin-emu/dolphin-emu-9999.ebuild b/games-emulation/dolphin-emu/dolphin-emu-9999.ebuild index dc700db..4c54dcd 100644 --- a/games-emulation/dolphin-emu/dolphin-emu-9999.ebuild +++ b/games-emulation/dolphin-emu/dolphin-emu-9999.ebuild @@ -51,6 +51,10 @@ DEPEND="${RDEPEND} # || die "sed path update 1 failed" #} +src_prepare() { + epatch ${FILESDIR}/libav.patch +} + src_configure() { # Configure using cmake mycmakeargs=" diff --git a/games-emulation/dolphin-emu/files/libav.patch b/games-emulation/dolphin-emu/files/libav.patch new file mode 100644 index 0000000..4d3e4dc --- /dev/null +++ b/games-emulation/dolphin-emu/files/libav.patch @@ -0,0 +1,13 @@ +diff -Naur /var/tmp/paludis/games-emulation-dolphin-emu-9999/work/dolphin-emu-9999/Source/Core/VideoCommon/Src/AVIDump.cpp dolphin-emu-9999/Source/Core/VideoCommon/Src/AVIDump.cpp +--- /var/tmp/paludis/games-emulation-dolphin-emu-9999/work/dolphin-emu-9999/Source/Core/VideoCommon/Src/AVIDump.cpp 2011-10-25 00:11:07.700678646 +0300 ++++ dolphin-emu-9999/Source/Core/VideoCommon/Src/AVIDump.cpp 2011-10-25 00:06:07.000000000 +0300 +@@ -321,9 +321,6 @@ + AVPacket pkt; + av_init_packet(&pkt); + +- if (s_Stream->codec->coded_frame->pts != (unsigned int)AV_NOPTS_VALUE) +- pkt.pts = av_rescale_q(s_Stream->codec->coded_frame->pts, +- s_Stream->codec->time_base, s_Stream->time_base); + if(s_Stream->codec->coded_frame->key_frame) + pkt.flags |= AV_PKT_FLAG_KEY; + pkt.stream_index = s_Stream->index; -- cgit v1.2.3