[FFmpeg-devel] [PATCH v1] avformat/mpegts: fix avformat_find_stream_info take too time with open single video/audio TS stream

2022-05-16 Thread gaojiangjie
From: Jiangjie Gao 1. ref https://trac.ffmpeg.org/ticket/9782. 2. just check `codec_type`. 3. remove `pos > 10`, we have AVFormatContext::probesize. Signed-off-by: Jiangjie Gao --- libavformat/mpegts.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/m

[FFmpeg-devel] [PATCH v1] avformat/rtsp: RTP support buffer_size&pkt_size option

2021-03-08 Thread gaojiangjie
From: Jiangjie Gao And forward it to udp. issue: https://trac.ffmpeg.org/ticket/7517 Signed-off-by: Jiangjie Gao --- libavformat/rtsp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 9a2933346e..25bdf475b3 100644 --- a/liba

[FFmpeg-devel] [PATCH v1] avformat/rtsp: fix https://trac.ffmpeg.org/ticket/7517

2021-03-03 Thread gaojiangjie
From: Jiangjie Gao Signed-off-by: Jiangjie Gao --- libavformat/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 9a2933346e..29ee0b317f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2510,8 +2510,9 @@ static

[FFmpeg-devel] [PATCH v1] avutil/time: fix av_usleep() inaccurate on Windows

2021-01-26 Thread gaojiangjie
From: Jiangjie Gao --- libavutil/time.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavutil/time.c b/libavutil/time.c index 740afc4785..dd04870983 100644 --- a/libavutil/time.c +++ b/libavutil/time.c @@ -90,7 +90,16 @@ int av_usleep(unsigned usec) #elif HAV