diff options
author | Martin Storsjö <martin@martin.st> | 2010-12-07 13:29:44 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-12-07 13:29:44 +0000 |
commit | 86b6e387cc16f873d2739af14f63696b648e0423 (patch) | |
tree | c4abe3caeeda5c55d800a00093f0afc5222476c4 /COPYING.LGPLv2.1 | |
parent | bb776f3b0037b4ddc2977643fb0efaeff756babc (diff) | |
download | ffmpeg-86b6e387cc16f873d2739af14f63696b648e0423.tar.gz |
rtsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known
This fixes cases where the RTP time base and the sample rate of the stream
differ. Previously, the AVStream time_base was unconditionally set to
the sample rate (which initially was set to one value when parsing the
rtpmap field in the SDP, but later overridden by an a=SampleRate field).
Additionally, this makes the code actually use the stream time base set
in rtpmap for video codecs, instead of hardcoding it to always be 90 kHz.
Originally committed as revision 25908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'COPYING.LGPLv2.1')
0 files changed, 0 insertions, 0 deletions