summaryrefslogtreecommitdiffstats
path: root/gst/aacparse/gstbaseparse.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-01 13:05:35 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-02 00:56:52 +0100
commitf5a03ec2a6000351d59979daa64abad6719cdfb7 (patch)
treeb8bbd02c7828d69c92a29bd1a478c1451888a0f2 /gst/aacparse/gstbaseparse.c
parent7f82fe3b46e74a9647a693fdf72f954f648ce87c (diff)
downloadgst-plugins-bad-f5a03ec2a6000351d59979daa64abad6719cdfb7.tar.gz
gst-plugins-bad-f5a03ec2a6000351d59979daa64abad6719cdfb7.tar.bz2
gst-plugins-bad-f5a03ec2a6000351d59979daa64abad6719cdfb7.zip
aacparse: set channels and rate on output caps, and keep codec_data
Create output caps from input caps, so we maintain any fields we might get on the input caps, such as codec_data or rate and channels. Set channels and rate on the output caps if we don't have input caps or they don't contain such fields. We do this partly because we can, but also because some muxers need this information. Tagreadbin will also be happy about this.
Diffstat (limited to 'gst/aacparse/gstbaseparse.c')
0 files changed, 0 insertions, 0 deletions