OSDN Git Service

rtsp: Don't set the RTP time base from the sample rate if no sample rate is set
authorMartin Storsjö <martin@martin.st>
Wed, 15 Dec 2010 21:06:25 +0000 (21:06 +0000)
committerMartin Storsjö <martin@martin.st>
Wed, 15 Dec 2010 21:06:25 +0000 (21:06 +0000)
commitbbd8f5477d29ae0d22ad0a8711d95299e009ec36
tree8f4e41523d9d8b1f80f113e8f2943539c8e85e4d
parent1c3e117e0bd73ffc5a3abeb35b521fd048988f06
rtsp: Don't set the RTP time base from the sample rate if no sample rate is set

This also reverts SVN rev 26016, which incorrectly overwrote the time base
with 90 kHz for all streams, regardless of what was set by the SDP parsing.

The stream that triggered the fix in 26016 still works after this commit.

Originally committed as revision 26022 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpdec.c
libavformat/rtsp.c