rtmp: Handle server bandwidth packets

Signed-off-by: Martin Storsjö <martin@martin.st>
rtmp: Set the client buffer time to 3s instead of 0.26s

This factorizes existing code into a new function gen_buffer_time(),
which generates the client buffer time message and sends it to the
server.

Signed-off-by: Martin Storsjö <martin@martin.st>
rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time

Signed-off-by: Martin Storsjö <martin@martin.st>
mpegtsenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
nutenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time
  rtmp: Set the client buffer time to 3s instead of 0.26s
  rtmp: Handle server bandwidth packets
  rtmp: Display a verbose message when an unknown packet type is received
  lavfi/audio: use av_samples_copy() instead of custom code.
  configure: add all filters hardcoded into avconv to avconv_deps
  avfiltergraph: remove a redundant call to avfilter_get_by_name().
  lavfi: allow building without swscale.
  build: Do not delete tests/vsynth2 directory, which is no longer created.
  lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
  lavfi: make AVFilterPad opaque after two major bumps.
  lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
  lavfi: make avfilter_get_video_buffer() private on next bump.
  jack: update to new latency range API as the old one has been deprecated
  rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r
  ppc: Rename H.264 optimization template file for consistency.
  lavfi: add channelsplit audio filter.
  golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
  sws: fix planar RGB input conversions for 9/10/16 bpp.

Conflicts:
	Changelog
	configure
	doc/APIchanges
	ffmpeg.c
	libavcodec/golomb.h
	libavcodec/v210dec.h
	libavfilter/Makefile
	libavfilter/allfilters.c
	libavfilter/asrc_anullsrc.c
	libavfilter/audio.c
	libavfilter/avfilter.c
	libavfilter/avfilter.h
	libavfilter/avfiltergraph.c
	libavfilter/buffersrc.c
	libavfilter/formats.c
	libavfilter/version.h
	libavfilter/vf_frei0r.c
	libavfilter/vf_pad.c
	libavfilter/vf_scale.c
	libavfilter/video.h
	libavfilter/vsrc_color.c
	libavformat/rtmpproto.c
	libswscale/input.c
	tests/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
fate.texi: fix typo in title

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: fix SLIBNAME_WITH_MAJOR for openbsd (and bitrig in the next commit)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: support Bitrig OS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
asfdec: fix returned error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vqavideo: pass context to remaining av_(d)log

Finally get rid of all superfluous strings from av_log messages.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avconv: don't try to free threads that were not initialized.
bprint: implement vsnprintf for win32.
mjpegdec: remove superfluous "mjpeg "

Signed-off-by: Paul B Mahol <onemda@gmail.com>
g729dec: align codec declarations

Signed-off-by: Paul B Mahol <onemda@gmail.com>
flashsv2enc: align codec declarations

While here constify enums for .pix_fmts.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Add truehd decoder line.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
png_parser: use designated initializers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
rtpdec: Don't require frames to start with a Mode A packet

While there is no reason for starting a frame with anything else
than a Mode A packet, some senders seem to consistently use Mode B
packets for everything. This fixes depacketization of such streams.

Signed-off-by: Martin Storsjö <martin@martin.st>
doc: document THREAD_TYPE fate variable