OSDN Git Service

movenc: Use the actual converted sample for RTP hinting
authorMartin Storsjö <martin@martin.st>
Fri, 9 Dec 2011 19:19:57 +0000 (21:19 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 10 Dec 2011 23:37:26 +0000 (01:37 +0200)
commite2484fb644b8dc0a0704e4155100c897e6e9739c
tree634f9ec4fb31787af02a6e63ba4104ef64abbe20
parentda9cea77e314dad2fbc615a76085a0c330741f92
movenc: Use the actual converted sample for RTP hinting

If an annex b bitstream is muxed into mov, the actual written
sample is reformatted to mp4 syntax before writing.

Currently, the RTP hints that copy data from the normal video
track, where the payload data might be offset compared to the
original sample that the RTP hinting used (when 3 byte
annex b startcodes have been converted into 4 byte mp4 format
startcodes).

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