mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: doc: Replace some @file tags by more suitable markup. fate: Set FUZZ factor of vorbis-13 test to 2. fate: Set FUZZ factor of (e)ac3-encode test to 3. fate: remove unused code from regressions-funcs.sh rtmp: Don't assume path points to a string of nonzero length avconv: fix behavior with -ss as an output option. Conflicts: doc/platform.texi doc/protocols.texi ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
31dfe20dd2
@ -13,7 +13,8 @@
|
||||
|
||||
FFmpeg can be hooked up with a number of external libraries to add support
|
||||
for more formats. None of them are used by default, their use has to be
|
||||
explicitly requested by passing the appropriate flags to @file{./configure}.
|
||||
explicitly requested by passing the appropriate flags to
|
||||
@command{./configure}.
|
||||
|
||||
@section OpenJPEG
|
||||
|
||||
|
@ -27,11 +27,11 @@ to configure.
|
||||
@section BSD
|
||||
|
||||
BSD make will not build FFmpeg, you need to install and use GNU Make
|
||||
(@file{gmake}).
|
||||
(@command{gmake}).
|
||||
|
||||
@section (Open)Solaris
|
||||
|
||||
GNU Make is required to build FFmpeg, so you have to invoke (@file{gmake}),
|
||||
GNU Make is required to build FFmpeg, so you have to invoke (@command{gmake}),
|
||||
standard Solaris Make will not work. When building with a non-c99 front-end
|
||||
(gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o}
|
||||
or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options
|
||||
@ -272,7 +272,7 @@ To create import libraries that work with the @code{/OPT:REF} option
|
||||
|
||||
@enumerate
|
||||
|
||||
@item Open @file{Visual Studio 2005 Command Prompt}.
|
||||
@item Open @emph{Visual Studio 2005 Command Prompt}.
|
||||
|
||||
Alternatively, in a normal command line prompt, call @file{vcvars32.bat}
|
||||
which sets up the environment variables for the Visual C++ tools
|
||||
@ -282,7 +282,7 @@ which sets up the environment variables for the Visual C++ tools
|
||||
@item Enter the @file{bin} directory where the created LIB and DLL files
|
||||
are stored.
|
||||
|
||||
@item Generate new import libraries with @file{lib.exe}:
|
||||
@item Generate new import libraries with @command{lib.exe}:
|
||||
|
||||
@example
|
||||
lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib
|
||||
|
6
ffmpeg.c
6
ffmpeg.c
@ -2028,8 +2028,10 @@ static int poll_filters(void)
|
||||
//if (ost->source_index >= 0)
|
||||
// *filtered_frame= *input_streams[ost->source_index]->decoded_frame; //for me_threshold
|
||||
|
||||
if (of->start_time && filtered_frame->pts < of->start_time)
|
||||
return 0;
|
||||
if (of->start_time && filtered_frame->pts < of->start_time) {
|
||||
avfilter_unref_buffer(picref);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (ost->filter->filter->inputs[0]->type) {
|
||||
case AVMEDIA_TYPE_VIDEO:
|
||||
|
@ -895,9 +895,10 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
|
||||
fname = path + 10;
|
||||
memcpy(rt->app, "ondemand", 9);
|
||||
} else {
|
||||
char *p = strchr(path + 1, '/');
|
||||
char *next = *path ? path + 1 : path;
|
||||
char *p = strchr(next, '/');
|
||||
if (!p) {
|
||||
fname = path + 1;
|
||||
fname = next;
|
||||
rt->app[0] = '\0';
|
||||
} else {
|
||||
char *c = strchr(p + 1, ':');
|
||||
|
@ -35,6 +35,7 @@ fate-ac3-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-ac3-encode: CMP_SHIFT = -1024
|
||||
fate-ac3-encode: CMP_TARGET = 399.62
|
||||
fate-ac3-encode: SIZE_TOLERANCE = 488
|
||||
fate-ac3-encode: FUZZ = 3
|
||||
|
||||
FATE_AC3 += fate-eac3-encode
|
||||
fate-eac3-encode: CMD = enc_dec_pcm eac3 wav s16le $(REF) -c:a eac3 -b:a 128k
|
||||
@ -43,6 +44,7 @@ fate-eac3-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-eac3-encode: CMP_SHIFT = -1024
|
||||
fate-eac3-encode: CMP_TARGET = 514.02
|
||||
fate-eac3-encode: SIZE_TOLERANCE = 488
|
||||
fate-eac3-encode: FUZZ = 3
|
||||
|
||||
FATE_AVCONV += $(FATE_AC3)
|
||||
fate-ac3: $(FATE_AC3)
|
||||
|
@ -49,6 +49,7 @@ fate-vorbis-12: REF = $(SAMPLES)/vorbis/mono_small.pcm
|
||||
FATE_VORBIS += fate-vorbis-13
|
||||
fate-vorbis-13: CMD = pcm -i $(SAMPLES)/vorbis/moog_small.ogg
|
||||
fate-vorbis-13: REF = $(SAMPLES)/vorbis/moog_small.pcm
|
||||
fate-vorbis-13: FUZZ = 2
|
||||
|
||||
FATE_VORBIS += fate-vorbis-14
|
||||
fate-vorbis-14: CMD = pcm -i $(SAMPLES)/vorbis/rc1-test_small.ogg
|
||||
|
Loading…
Reference in New Issue
Block a user