rtmp: Send video on a separate channel.
authorJosh Allmann <joshua.allmann@gmail.com>
Mon, 16 Sep 2013 20:20:56 +0000 (13:20 -0700)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Sep 2013 08:03:36 +0000 (11:03 +0300)
commit120af23cd5fcfc539d9575d17d403247ab17109b
tree9493c7ef768de90aa5ec68af29a5af87b75fb678
parent68b467742092364f9306283f40effde2c12efe08
rtmp: Send video on a separate channel.

Sending non-monotonic packets (e.g. when the audio and video
streams are monotonic within themselves but not muxed
monotonically) will lead to negative values the RTMP timestamp
field (where timestamps are transmitted only as deltas for each
channel), and this delta can end up being incorrectly written as
a large unsigned number.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c