Re: [libav-devel] [PATCH] rtsp: add pkt_size option

2019-04-15 Thread Tristan Matthews
On Thu, Apr 11, 2019 at 1:41 AM Martin Storsjö wrote: > > On Thu, 11 Apr 2019, Tristan Matthews wrote: > > > This allows users to specify an upper limit on the size of outgoing packets > > when publishing via RTSP. > > > > --- > > libavformat/rtsp.c | 5 +

[libav-devel] [PATCH] rtsp: add pkt_size option

2019-04-10 Thread Tristan Matthews
This allows users to specify an upper limit on the size of outgoing packets when publishing via RTSP. --- libavformat/rtsp.c | 5 - libavformat/rtsp.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 8bf9d9e3c..12c4998c6

Re: [libav-devel] [PATCH] rtsp: only break on parse_rtsp_message on error

2017-11-29 Thread Tristan Matthews
On Wed, Nov 29, 2017 at 3:14 PM, Martin Storsjö <mar...@martin.st> wrote: > On Wed, 29 Nov 2017, Tristan Matthews wrote: > >> Fix suggested by Luca Barbato. >> >> This was causing spurious EOFs when using -rtsp_transport udp, as >> reported in https://bug

[libav-devel] [PATCH] rtsp: only break on parse_rtsp_message on error

2017-11-29 Thread Tristan Matthews
Fix suggested by Luca Barbato. This was causing spurious EOFs when using -rtsp_transport udp, as reported in https://bugzilla.libav.org/show_bug.cgi?id=1103 --- libavformat/rtsp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index

Re: [libav-devel] [PATCH] Canopus HQ/HQA decoder

2015-03-24 Thread Tristan Matthews
On Tue, Mar 24, 2015 at 3:03 PM, Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 3/24/2015 6:53 PM, Luca Barbato wrote: No, it is exactly to keep the structure packed a little as I explained to Vittorio privately. So, micro-optimizations / ricing? Diego (Flameeyes) explained in a

Re: [libav-devel] [PATCH] Canopus HQ/HQA decoder

2015-03-24 Thread Tristan Matthews
On Tue, Mar 24, 2015 at 4:09 PM, Tristan Matthews le.business...@gmail.com wrote: On Tue, Mar 24, 2015 at 3:03 PM, Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 3/24/2015 6:53 PM, Luca Barbato wrote: No, it is exactly to keep the structure packed a little as I explained to Vittorio

Re: [libav-devel] [PATCH] Canopus HQ/HQA decoder

2015-03-24 Thread Tristan Matthews
On Mon, Mar 23, 2015 at 8:40 AM, Vittorio Giovara vittorio.giov...@gmail.com wrote: On Sun, Mar 22, 2015 at 7:36 PM, Luca Barbato lu_z...@gentoo.org wrote: +typedef struct HQContext { +AVCodecContext *avctx; + +VLC hq_ac_vlc; +VLC hqa_cbp_vlc; +DECLARE_ALIGNED(16, int16_t,

[libav-devel] [PATCH 1/1] srtpproto: fix option flag type

2014-12-16 Thread Tristan Matthews
--- libavformat/srtpproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c index f9b94d7..1f818d7 100644 --- a/libavformat/srtpproto.c +++ b/libavformat/srtpproto.c @@ -42,8 +42,8 @@ typedef struct SRTPProtoContext {

[libav-devel] [PATCH 1/1] v4l2: Use av_strerror

2014-11-05 Thread Tristan Matthews
--- libavdevice/v4l2.c | 49 ++--- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index e210dc4..3439325 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -119,6 +119,7 @@ static int

[libav-devel] [PATCH] flacdec: remove unused headers

2014-09-12 Thread Tristan Matthews
--- libavcodec/flacdec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 9ca55cc..a475309 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -33,8 +33,6 @@ #include limits.h -#include libavutil/channel_layout.h -#include

[libav-devel] [PATCH] tiffenc: fix packet size calculation

2014-06-13 Thread Tristan Matthews
--- libavcodec/tiffenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index ccfb07c..c40f340 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -290,7 +290,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket

[libav-devel] [PATCH] tiffenc: fix packet size calculation

2014-06-13 Thread Tristan Matthews
--- libavcodec/tiffenc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index ccfb07c..c94c7f4 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -218,6 +218,7 @@ static int encode_frame(AVCodecContext *avctx,

[libav-devel] [PATCH] configure: fix enable-libopus help string

2014-05-14 Thread Tristan Matthews
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1e9a54c..9b73883 100755 --- a/configure +++ b/configure @@ -192,7 +192,7 @@ External library support: --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]

[libav-devel] [PATCH] lavu: use unsigned for sample and channel counts

2014-01-31 Thread Tristan Matthews
--- libavutil/samplefmt.c | 9 + libavutil/samplefmt.h | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c index 389f726..8361bcf 100644 --- a/libavutil/samplefmt.c +++ b/libavutil/samplefmt.c @@ -105,7 +105,8 @@ int

Re: [libav-devel] [PATCH] samplefmt: avoid integer overflow in av_samples_get_buffer_size()

2014-01-30 Thread Tristan Matthews
On Thu, Jan 30, 2014 at 2:20 PM, Luca Barbato lu_z...@gentoo.org wrote: On 30/01/14 20:11, Justin Ruggles wrote: CC:libav-sta...@libav.org --- libavutil/samplefmt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c index

Re: [libav-devel] [PATCH v2] jack: use condition variable instead of semaphore

2013-12-06 Thread Tristan Matthews
On Fri, Dec 6, 2013 at 8:16 AM, Rémi Denis-Courmont r...@remlab.net wrote: Le lundi 2 décembre 2013, 16:38:55 Tristan Matthews a écrit : On Sun, Dec 1, 2013 at 4:21 PM, Rémi Denis-Courmont r...@remlab.net wrote: Le dimanche 1 décembre 2013, 16:15:22 Tristan Matthews a écrit

Re: [libav-devel] [PATCH v2] jack: use condition variable instead of semaphore

2013-12-06 Thread Tristan Matthews
On Fri, Dec 6, 2013 at 9:59 AM, Rémi Denis-Courmont r...@remlab.net wrote: Le vendredi 6 décembre 2013, 09:28:00 Tristan Matthews a écrit : A condition variable MUST have some kind of state protected by its mutex. Without such state, there is NO meaning to the condition variable. If you do

Re: [libav-devel] [PATCH v2] jack: use condition variable instead of semaphore

2013-12-02 Thread Tristan Matthews
On Sun, Dec 1, 2013 at 4:21 PM, Rémi Denis-Courmont r...@remlab.net wrote: Le dimanche 1 décembre 2013, 16:15:22 Tristan Matthews a écrit : jack_ringbuffers are used instead of AVFifoBuffers as they are safe for lock-free use (in single-writer, single-reader scenarios). The use of condition

[libav-devel] [PATCH v2] jack: use condition variable instead of semaphore

2013-12-01 Thread Tristan Matthews
jack_ringbuffers are used instead of AVFifoBuffers as they are safe for lock-free use (in single-writer, single-reader scenarios). Bug-Id: 312 --- libavdevice/jack_audio.c | 118 +-- 1 file changed, 74 insertions(+), 44 deletions(-) diff --git

Re: [libav-devel] [PATCH] jack: use pthread_cond_t instead of semaphore

2013-11-25 Thread Tristan Matthews
On Mon, Nov 25, 2013 at 4:59 AM, Luca Barbato lu_z...@gentoo.org wrote: On 25/11/13 01:15, Tristan Matthews wrote: Fixes https://bugzilla.libav.org/show_bug.cgi?id=312 use Bug-Id: 312 Instead =) --- libavdevice/jack_audio.c | 55 +++- 1

Re: [libav-devel] [PATCH] jack: use pthread_cond_t instead of semaphore

2013-11-25 Thread Tristan Matthews
On Mon, Nov 25, 2013 at 5:22 AM, Rémi Denis-Courmont r...@remlab.net wrote: On Sun, 24 Nov 2013 19:15:09 -0500, Tristan Matthews le.business...@gmail.com wrote: Fixes https://bugzilla.libav.org/show_bug.cgi?id=312 --- libavdevice/jack_audio.c | 55

[libav-devel] [PATCH] jack: use pthread_cond_t instead of semaphore

2013-11-24 Thread Tristan Matthews
Fixes https://bugzilla.libav.org/show_bug.cgi?id=312 --- libavdevice/jack_audio.c | 55 +++- 1 file changed, 40 insertions(+), 15 deletions(-) diff --git a/libavdevice/jack_audio.c b/libavdevice/jack_audio.c index c261514..ef6e0fb 100644 ---