summaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorJeffrey Wescott <jeffrey.wescott@gmail.com>2014-11-05 17:55:34 -0800
committerMichael Niedermayer <michaelni@gmx.at>2014-11-24 00:15:48 +0100
commit60fd790f381cd404ffdafa8a86a6dc93c9d80f99 (patch)
tree15a1eb36fa2ec3b7ab794bb85a0fb2c0795075ab /libavformat/flvenc.c
parent4e9745fbff5174c0679452b613b0b73f08ca0280 (diff)
downloadffmpeg-streaming-60fd790f381cd404ffdafa8a86a6dc93c9d80f99.zip
ffmpeg-streaming-60fd790f381cd404ffdafa8a86a6dc93c9d80f99.tar.gz
avformat/rtmpproto: only prepend @setMetaData for onMetaData and |RtmpSampleAccess
In current versions of ffmpeg, when streaming to an RTMP server, anytime a packet of type RTMP_PT_NOTIFY is encountered, the packet is prepended with @setDataFrame before it gets sent to the server. This is incorrect; only packets for onMetaData and |RtmpSampleAccess should invoke @setDataFrame on the RTMP server. Specifically, the current bug manifests itself when trying to stream onTextData or onCuePoint invocations. This fix addresses that problem and ensures that the @setDataFrame is only prepended for onMetaData and |RtmpSampleAccess. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/flvenc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud