1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
tpol 71ce5c32f0 avformat/rtsp: correctly set media control uri with mpegts
Fixes #1941

Currently the media control uri is not correctly assigned when mpegts is
signalled in the media description.

The code checks whether at least one AVStream has been setup before
assigning to the media's uri. With mpegts the AVStreams are setup when
parsing packets and so the media's uri is skipped. This is fixed by
using rt->nb_rtsp_streams in the check which counts all medias in the
sdp.

Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2021-01-17 21:36:16 -05:00
..
2020-10-03 21:50:59 +02:00
2020-11-04 23:30:53 +01:00
2020-10-25 23:44:26 +10:00
2020-11-09 14:58:38 +10:00
2020-10-06 00:01:35 +08:00
2020-10-06 00:01:27 +08:00
2020-11-11 17:05:24 +01:00
2020-12-24 15:25:00 +01:00
2020-10-24 19:11:12 +02:00
2020-11-04 23:30:53 +01:00
2021-01-16 08:53:27 +08:00
2020-12-12 00:13:58 +01:00
2020-10-07 22:16:09 +02:00
2020-09-24 13:38:28 +02:00
2020-12-21 01:27:33 -05:00
2020-10-25 09:49:26 +01:00
2020-09-18 11:30:03 +02:00
2020-06-18 21:31:13 +02:00
2020-09-03 18:11:00 +02:00
2020-11-22 17:45:17 +01:00
2020-09-03 18:03:18 +02:00
2020-10-24 19:11:12 +02:00
2020-10-25 09:49:31 +01:00
2020-06-06 00:25:00 +02:00
2020-09-13 16:05:01 +02:00
2020-06-13 00:43:09 +02:00
2021-01-16 08:51:31 +08:00
2020-12-05 00:08:33 +01:00
2020-07-26 16:47:01 +02:00
2020-10-21 17:21:41 +02:00