flvdemux: Only set caps once if they don't change
authorSebastian Dröge <sebastian@centricular.com>
Tue, 24 Mar 2015 15:18:53 +0000 (16:18 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 24 Mar 2015 15:18:53 +0000 (16:18 +0100)
commitac0141b6a0dbb30372d11501b413a61b06da8d38
treeee5066fa02933b1bad9853b05101e977cf3775b0
parentc9b42951fefaeb4afbad2f84ff845375424f8bcb
flvdemux: Only set caps once if they don't change

Previously we were setting new caps with the same content for every H264 or
AAC codec_data we found in the stream, spamming everything and causing
renegotiations.
gst/flv/gstflvdemux.c