mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
This port is no longer based on the Qt3 version of dvbcut plus a large patch to make it build on Qt4 with the Qt3 emulation layer. A fork that uses native Qt4 calls is used instead. The generated files moc_progressstatusbar.cpp and moc_progresswindow.cpp trigger an internal error in clang, if compiled with optimization. This bug has been accepted as 18098 in the llvm bug tracker. To work around this problem, the above mentioned two files are compiled with -O0 appended to the compiler flages. The post-configure target in the ports Makefile is to be removed, when a fixed version of clang is distributed in all FreeBSD releases supported by the ports infrastructure.
13 lines
470 B
C++
13 lines
470 B
C++
--- src/lavfmuxer.cpp~ 2013-06-16 11:57:51.000000000 +0200
|
|
+++ src/lavfmuxer.cpp 2013-11-29 22:24:36.075415060 +0100
|
|
@@ -40,6 +40,10 @@
|
|
#define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
|
|
#endif
|
|
|
|
+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
|
|
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
|
|
+#endif
|
|
+
|
|
lavfmuxer::lavfmuxer(const char *format, uint32_t audiostreammask, mpgfile &mpg, const char *filename)
|
|
: muxer(), avfc(0), fileopened(false)
|
|
{
|