[libav-devel] [PATCH] avio: cosmetics - nicer vertical alignment.

2011-03-23 Thread Anton Khirnov
--- libavformat/avio.h |2 +- libavformat/avio_internal.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 753fa0c..d11c398 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -416,7 +416,7 @@

[libav-devel] [PATCH] lavf: inspect more frames for fps when container time base is coarse

2011-03-28 Thread Anton Khirnov
From: Anssi Hannula anssi.hann...@iki.fi As per issue2629, most 23.976fps matroska H.264 files are incorrectly detected as 24fps, as the matroska timestamps usually have only millisecond precision. Fix that by doubling the amount of timestamps inspected for frame rate for streams that have

[libav-devel] [PATCH 1/2] lavf: update AVStream.nb_frames when muxing.

2011-03-28 Thread Anton Khirnov
--- libavformat/matroskaenc.c |2 +- libavformat/utils.c |7 +++ 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 4f9bf0a..54c74a6 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[libav-devel] [PATCH 2/2] mp3enc: write a xing frame containing number of frames in the file

2011-03-28 Thread Anton Khirnov
--- libavcodec/Makefile |1 + libavformat/mp3enc.c | 74 ++--- 2 files changed, 70 insertions(+), 5 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 85d9a34..f9b1bf8 100644 --- a/libavcodec/Makefile +++

Re: [libav-devel] [PATCH 1/2] framebuffer device demuxer

2011-03-28 Thread Anton Khirnov
On Mon, Mar 28, 2011 at 09:51:39AM +0200, Diego Biurrun wrote: On Mon, Mar 28, 2011 at 08:10:34AM +0200, Anton Khirnov wrote: Sorry, I don't know enough about lavc/rawdec to be able to do that. So unless somebody else feels like looking into this, I'd commit the attached (the two patches

Re: [libav-devel] [PATCH 4/4] Add MxPEG decoder

2011-03-29 Thread Anton Khirnov
? I don't see those functions used anywhere. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 1/2] lavf: update AVStream.nb_frames when muxing.

2011-03-29 Thread Anton Khirnov
that it will be wrong when packet != frame (slightly evil) 2) add a nb_packets field (somewhat bloaty) 3) have each muxer manage this by itself (evil) -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel

[libav-devel] [PATCH] flvdec: read index stored in the 'keyframes' tag.

2011-03-30 Thread Anton Khirnov
From: Kharkov Alexander kharkovalexan...@gmail.com 'keyframes' metatag is not part of the standard, it is just convention to use such kind of metatag information for indexing. Structure is following, it allows to have it inconsistent: keyframes: times (array): time0 (num) time1 (num) time2

Re: [libav-devel] [PATCH] APIChanges: mark the place where 0.6 was branched.

2011-03-30 Thread Anton Khirnov
On Wed, Mar 30, 2011 at 08:19:38AM -0700, Ronald S. Bultje wrote: Hi, On Wed, Mar 30, 2011 at 7:57 AM, Anton Khirnov an...@khirnov.net wrote: ---  doc/APIchanges |    6 ++  1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index

Re: [libav-devel] [PATCH] mlp_parse.c: set AVCodecContext channel_layout

2011-03-30 Thread Anton Khirnov
On Mon, Mar 28, 2011 at 01:56:45AM +0200, Benjamin Larsson wrote: On 03/26/2011 03:34 AM, John Stebbins wrote: The channel layout isn't getting set for mlp and truehd audio. Patch ok. Pushed. -- Anton Khirnov signature.asc Description: Digital signature

Re: [libav-devel] [PATCH 2/2] mov: Add support for zero-sized stsc runs.

2011-03-30 Thread Anton Khirnov
changed, 1 insertions(+), 1 deletions(-) Ok. Pushed. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] flvdec: read index stored in the 'keyframes' tag.

2011-03-30 Thread Anton Khirnov
On Wed, Mar 30, 2011 at 08:23:50PM +0200, Luca Barbato wrote: On 03/30/2011 03:56 PM, Anton Khirnov wrote: From: Kharkov Alexander kharkovalexan...@gmail.com 'keyframes' metatag is not part of the standard, it is just convention to use such kind of metatag information for indexing

[libav-devel] [PATCH] avio: document avio_alloc_context.

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..24c36f7 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -458,6 +458,17 @@ attribute_deprecated void

[libav-devel] [PATCH] avio: make url_fdopen internal.

2011-03-31 Thread Anton Khirnov
The unbuffered URLContext API will be made private, so there's no point in this function being public. --- libavformat/avio.h | 14 +- libavformat/avio_internal.h | 13 + libavformat/aviobuf.c |8 ++-- libavformat/rtpenc_chain.c |3 ++- 4

[libav-devel] [PATCH 01/15] avio: deprecate url_poll and URLPollEntry

2011-03-31 Thread Anton Khirnov
They're unimplemented and nobody cared to do anything with that for 10 years. --- libavformat/avio.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..02a02ba 100644 --- a/libavformat/avio.h +++

[libav-devel] [PATCH 02/15] avio: deprecate url_open_protocol

2011-03-31 Thread Anton Khirnov
The unbuffered API will be made private and it's not used anywhere internally. --- libavformat/avio.c |2 ++ libavformat/avio.h | 22 +++--- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index d7c2eb4..f6f067d 100644

[libav-devel] [PATCH 03/15] avio: make url_alloc internal.

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.c |9 +++-- libavformat/avio.h | 14 +- libavformat/mmsh.c |5 +++-- libavformat/rtsp.c |5 +++-- libavformat/url.h | 43 +++ 5 files changed, 57 insertions(+), 19 deletions(-) create mode 100644

[libav-devel] [PATCH 06/15] avio: make url_read() internal.

2011-03-31 Thread Anton Khirnov
--- libavformat/applehttpproto.c |2 +- libavformat/avio.c |6 +- libavformat/avio.h | 12 +--- libavformat/aviobuf.c|2 +- libavformat/concat.c |2 +- libavformat/gopher.c |2 +- libavformat/http.c |4

[libav-devel] [PATCH 08/15] avio: make url_write() internal.

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.c |6 +- libavformat/avio.h |9 + libavformat/aviobuf.c |2 +- libavformat/gopher.c|2 +- libavformat/http.c | 12 ++-- libavformat/md5proto.c |2 +- libavformat/mmst.c |2 +- libavformat/rtmppkt.c |

[libav-devel] [PATCH 07/15] avio: make url_read_complete() internal.

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.c |6 +- libavformat/avio.h | 10 +- libavformat/mmsh.c | 10 +- libavformat/mmst.c |8 libavformat/rtmppkt.c | 16 libavformat/rtmpproto.c |4 ++-- libavformat/rtsp.c |8

[libav-devel] [PATCH 13/15] avio: make url_get_file_handle() internal.

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.c |6 +- libavformat/avio.h |9 + libavformat/http.c |2 +- libavformat/rtpproto.c |4 ++-- libavformat/rtsp.c |8 libavformat/rtspenc.c |2 +- libavformat/sapdec.c |2 +- libavformat/sapenc.c |2 +-

[libav-devel] [PATCH 09/15] avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together

2011-03-31 Thread Anton Khirnov
--- libavformat/avio.h | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 0931284..41a1d03 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -111,13 +111,6 @@ attribute_deprecated int

Re: [libav-devel] [PATCH 5/9] avio: deprecate url_fileno

2011-03-31 Thread Anton Khirnov
, how long it was, or control when the chunks are cut exactly, whether the chunks are actually sent into the storage etc. Wouldn't you be better off using a custom AVIOContext then? -- Anton Khirnov signature.asc Description: Digital signature

Re: [libav-devel] [PATCH] ape: check that number of seektable entries is equal to number of frames

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 09:42:14AM +0200, Kostya wrote: On Fri, Apr 01, 2011 at 09:30:17AM +0200, Anton Khirnov wrote: From: Kostya Shishkov kostya.shish...@gmail.com fixes issue2480 Signed-off-by: Anton Khirnov an...@khirnov.net --- libavformat/ape.c |5 + 1 files

[libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
--- Sorry for the noise, forgot to commit before sending :) --- libavformat/avio.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..ca73769 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -458,6

[libav-devel] [PATCH] avio: introduce an AVIOContext.seekable field

2011-04-01 Thread Anton Khirnov
Use it instead of url_is_streamed and AVIOContext.is_streamed. --- ffserver.c |8 libavformat/aiffdec.c |2 +- libavformat/aiffenc.c |2 +- libavformat/ape.c |2 +- libavformat/asfenc.c |4 ++-- libavformat/au.c |

Re: [libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 10:58:03AM -0700, Ronald S. Bultje wrote: Hi, On Fri, Apr 1, 2011 at 10:53 AM, Anton Khirnov an...@khirnov.net wrote: ---  libavformat/avio.h |   16  1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 09:56:27AM +0200, Kostya wrote: On Fri, Apr 01, 2011 at 03:17:46AM +0200, Anton Khirnov wrote: In particular, now it assumes that a) chapters are chronologically ordered b) chapters have the same timebases c) duration of the stream is known and asserts if any

[libav-devel] [PATCH 2/4] lavc: add missing audioconvert includes

2011-04-02 Thread Anton Khirnov
--- libavcodec/mlp_parser.c |1 + libavcodec/mpegaudiodec.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 9ba3c53..e85eb72 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -27,6 +27,7 @@

[libav-devel] [PATCH 1/4] jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

2011-04-02 Thread Anton Khirnov
--- libavcodec/jvdec.c |2 +- libavformat/jvdec.c |8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c index 0da1142..8f19ba3 100644 --- a/libavcodec/jvdec.c +++ b/libavcodec/jvdec.c @@ -205,7 +205,7 @@ static av_cold int

[libav-devel] [PATCH] lavc: deprecate rate_emu

2011-04-02 Thread Anton Khirnov
It's not used anywhere and apparrently hasn't been for a very long time. --- libavcodec/avcodec.h |4 +++- libavcodec/options.c |2 ++ libavcodec/version.h |3 +++ 3 files changed, 8 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH] lavc: move some x264-specific options to its private context.

2011-04-02 Thread Anton Khirnov
Bump required x264 version, because X264_WEIGHTP_BLIND was renamed to X264_WEIGHTP_SIMPLE in version 110. --- Sorry for the noise, forgot to commit some hunks in the first patch. --- configure|4 +- libavcodec/avcodec.h | 16 ++- libavcodec/libx264.c | 69

Re: [libav-devel] [PATCH 1/4] jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

2011-04-02 Thread Anton Khirnov
All 4 pushed. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 2/2] lavc: deprecate AVCodecContext.antialias_algo

2011-04-02 Thread Anton Khirnov
It's been unused since mp3float decoder was added. --- libavcodec/avcodec.h |5 - libavcodec/options.c |2 ++ libavcodec/version.h |3 +++ 3 files changed, 9 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 98206d5..1f32592 100644 ---

[libav-devel] [PATCH] lavc: move some flac-specific options to its private context.

2011-04-02 Thread Anton Khirnov
--- libavcodec/avcodec.h | 29 ++ libavcodec/flacenc.c | 104 +++-- libavcodec/options.c | 18 +--- libavcodec/version.h |3 + 4 files changed, 126 insertions(+), 28 deletions(-) diff --git a/libavcodec/avcodec.h

[libav-devel] [PATCH] lavc: move some flac-specific options to its private context.

2011-04-02 Thread Anton Khirnov
--- Found some more flac-specific options. --- libavcodec/avcodec.h | 29 ++ libavcodec/flacenc.c | 104 +++-- libavcodec/options.c | 20 ++ libavcodec/version.h |3 + 4 files changed, 127 insertions(+), 29 deletions(-)

Re: [libav-devel] [PATCH] avio cleanup half-way there

2011-04-03 Thread Anton Khirnov
On Thu, Mar 17, 2011 at 02:03:26PM +0100, Anton Khirnov wrote: Hi, with the following patches everything the buffered part of avio cleanup is completed. Please comment/commit so I can start with the unbuffered part. Everything has been pushed, the buffered API cleanup is now complete

Re: [libav-devel] [PATCH 03/15] avio: make url_alloc internal.

2011-04-03 Thread Anton Khirnov
On Sun, Apr 03, 2011 at 02:45:38PM -0700, Ronald S. Bultje wrote: Hi, On Thu, Mar 31, 2011 at 9:14 AM, Anton Khirnov an...@khirnov.net wrote: ---  libavformat/avio.c |    9 +++--  libavformat/avio.h |   14 +-  libavformat/mmsh.c |    5 +++--  libavformat/rtsp.c |    5

Re: [libav-devel] [PATCH 02/15] avio: deprecate url_open_protocol

2011-04-04 Thread Anton Khirnov
On Sun, Apr 03, 2011 at 02:36:46PM -0700, Ronald S. Bultje wrote: Hi, On Thu, Mar 31, 2011 at 9:14 AM, Anton Khirnov an...@khirnov.net wrote: The unbuffered API will be made private and it's not used anywhere internally. ---  libavformat/avio.c |    2 ++  libavformat/avio.h |   22

[libav-devel] [PATCH] avio: make url_filesize() internal.

2011-04-04 Thread Anton Khirnov
--- libavformat/avio.c |6 +- libavformat/avio.h |8 +--- libavformat/concat.c |2 +- libavformat/url.h|7 +++ 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index b372ee3..76d3d4d 100644 ---

[libav-devel] [PATCH] avio: add a function for iterating though protocol names.

2011-04-04 Thread Anton Khirnov
--- libavformat/avio.c |6 ++ libavformat/avio.h | 11 +++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 24cec8f..bee878c 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -57,6 +57,12 @@ URLProtocol

Re: [libav-devel] [PATCH] avio: add a function for iterating though protocol names.

2011-04-04 Thread Anton Khirnov
Lesson learned: don't program while half-asleep. And now something that actually works :) -- Anton Khirnov From debd62be08d0140832a849490e74b6273c850391 Mon Sep 17 00:00:00 2001 From: Anton Khirnov an...@khirnov.net Date: Mon, 4 Apr 2011 08:18:54 +0200 Subject: [PATCH] avio: add a function

Re: [libav-devel] [PATCH] Avio cleanup II

2011-04-04 Thread Anton Khirnov
All pushed. Even if some of those end up public, current names are still unacceptable. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav

Re: [libav-devel] [PATCH] Avio cleanup II

2011-04-04 Thread Anton Khirnov
On Mon, Apr 04, 2011 at 05:50:34PM +0200, aviad rozenhek wrote: On Mon, Apr 4, 2011 at 16:56, Anton Khirnov an...@khirnov.net wrote: On Mon, Apr 04, 2011 at 02:38:12PM +, Ronald S. Bultje wrote: That said, I'm open to ideas how to expose the functionality you need (preferably

Re: [libav-devel] [PATCH] avio: add a function for iterating though protocol names.

2011-04-04 Thread Anton Khirnov
On Mon, Apr 04, 2011 at 03:06:48PM +, Ronald S. Bultje wrote: Hi, On Mon, Apr 4, 2011 at 11:01 AM, Anton Khirnov an...@khirnov.net wrote: Lesson learned: don't program while half-asleep. And now something that actually works :) [..] +const char *avio_enum_protocols(void **opaque

[libav-devel] [PATCH 1/9] avio: add a function for iterating though protocol names.

2011-04-04 Thread Anton Khirnov
--- libavformat/avio.c |7 +++ libavformat/avio.h | 11 +++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 24cec8f..100a04a 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -57,6 +57,13 @@ URLProtocol

[libav-devel] [PATCH 9/9] avio: move extern url_interrupt_cb declaration from avio.h to url.h

2011-04-04 Thread Anton Khirnov
--- libavformat/applehttp.c |1 + libavformat/avio.h |2 +- libavformat/tcp.c |1 + libavformat/udp.c |1 + libavformat/url.h |2 ++ libavformat/utils.c |1 + 6 files changed, 7 insertions(+), 1 deletions(-) diff --git a/libavformat/applehttp.c

[libav-devel] [PATCH 7/9] avio: deprecate av_protocol_next().

2011-04-04 Thread Anton Khirnov
--- cmdutils.c | 20 ++-- libavformat/avio.c |2 ++ libavformat/avio.h |4 +++- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 6901f56..bae0514 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -653,20 +653,12 @@ void

Re: [libav-devel] [PATCH 7/9] avio: deprecate av_protocol_next().

2011-04-04 Thread Anton Khirnov
On Mon, Apr 04, 2011 at 11:21:51PM +0200, Stefano Sabatini wrote: On date Monday 2011-04-04 20:43:50 +0200, Anton Khirnov wrote: --- cmdutils.c | 20 ++-- libavformat/avio.c |2 ++ libavformat/avio.h |4 +++- 3 files changed, 11 insertions(+), 15

Re: [libav-devel] [PATCH] Factor ff_network_wait_fd and use it on udp proto

2011-04-05 Thread Anton Khirnov
, size, 0); +return ret 0 ? ff_neterrno() : ret; As discussed on IRC, this changes behavior, so should be in a separate patch. Or at least it deserves a comment in the commit message. } + Also unrelated. -- Anton Khirnov signature.asc Description: Digital signature

Re: [libav-devel] [PATCH] proto: factor ff_network_wait_fd and use it on udp

2011-04-05 Thread Anton Khirnov
100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -55,6 +55,10 @@ static inline int ff_neterrno() { #include arpa/inet.h #endif +#if HAVE_POLL_H +#include poll.h +#endif Maybe now you can remove the poll.h #include from tcp.c and udp.c. Looks fine otherwise. -- Anton

Re: [libav-devel] [PATCH] matroskaenc: don't write an empty Cues element.

2011-04-05 Thread Anton Khirnov
On Mon, Apr 04, 2011 at 09:38:32PM +0100, Måns Rullgård wrote: Anton Khirnov an...@khirnov.net writes: --- libavformat/matroskaenc.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index e28ac42

[libav-devel] [PATCH 4/9] lavc: add a FF_API_REQUEST_CHANNELS deprecation macro

2011-04-06 Thread Anton Khirnov
And hide request_channels AVOption under it. --- libavcodec/avcodec.h |2 +- libavcodec/options.c |2 ++ libavcodec/version.h |3 +++ 3 files changed, 6 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 95a933d..7eb8b52 100644 ---

[libav-devel] [PATCH 2/9] lavf: postpone removal of deprecated avio functions

2011-04-06 Thread Anton Khirnov
They've been deprecated very recently. --- libavformat/version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/version.h b/libavformat/version.h index 1d25bfd..c5f3223 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -90,7 +90,7 @@ #define

[libav-devel] [PATCH] mmst: get rid of deprecated AVERRORs

2011-04-06 Thread Anton Khirnov
--- Now that i think about it, EINVAL is better suited here than EILSEQ. --- libavformat/mmst.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libavformat/mmst.c b/libavformat/mmst.c index cba65e2..a977858 100644 --- a/libavformat/mmst.c +++

[libav-devel] [PATCH] Port drawtext filter by Hemanth from the libavfilter soc repo

2011-04-06 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it With the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats * fix minor errors and typos in the filter description * extend/clarify examples in

Re: [libav-devel] [PATCH 1/2] lavf: update AVStream.nb_frames when muxing.

2011-04-07 Thread Anton Khirnov
On Wed, Apr 06, 2011 at 05:33:32PM -0400, Ronald S. Bultje wrote: Hi, On Tue, Mar 29, 2011 at 1:38 PM, Anton Khirnov an...@khirnov.net wrote: On Tue, Mar 29, 2011 at 10:09:35AM -0700, Ronald S. Bultje wrote: Hi, On Tue, Mar 29, 2011 at 9:55 AM, Anton Khirnov an...@khirnov.net wrote

[libav-devel] [PATCH 2/2] avio: deprecate av_protocol_next().

2011-04-07 Thread Anton Khirnov
--- cmdutils.c | 20 libavformat/avio.c |2 ++ libavformat/avio.h |4 +++- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 6901f56..cc10b48 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -653,20 +653,16 @@ void

[libav-devel] [PATCH 1/2] avio: add a function for iterating though protocol names.

2011-04-07 Thread Anton Khirnov
--- libavformat/avio.c | 10 ++ libavformat/avio.h | 13 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 1d40da6..0ea66b3 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -57,6 +57,16 @@ URLProtocol

[libav-devel] [PATCH] Last bits of avio cleanup

2011-04-07 Thread Anton Khirnov
Hi, with those patches, the avio cleanup is finally complete. I'm not very sure about url_exist. It's used in ffmpeg, ffserver and img2, but there were some problems with it [1]. There were patches from Stefano adding a replacement [2] [3] [4], but they didn't get much attention. Maybe we could

[libav-devel] [PATCH 1/6] avio: deprecate the typedef for URLInterruptCB

2011-04-07 Thread Anton Khirnov
There's no particular reason to pollute the namespace with a typedef for it. --- libavformat/avio.c |4 ++-- libavformat/avio.h |6 ++ libavformat/url.h |2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index

Re: [libav-devel] [rfc] Protocol API

2011-04-07 Thread Anton Khirnov
a muxer/demuxer library, protocols aren't its main focus. Of course it all depends on demand for such a thing, so who wants direct access to protocols, please speak up now. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel

Re: [libav-devel] [PATCH 2/6] avio: avio_ prefix for url_exist().

2011-04-07 Thread Anton Khirnov
On Thu, Apr 07, 2011 at 04:34:39PM -0400, Ronald S. Bultje wrote: Hi, On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c           |    2 +-  ffserver.c         |    4 ++--  libavformat/avio.c |    6 +-  libavformat/avio.h |    3

Re: [libav-devel] [PATCH 2/6] avio: avio_ prefix for url_exist().

2011-04-07 Thread Anton Khirnov
On Thu, Apr 07, 2011 at 09:50:28PM -0400, Ronald S. Bultje wrote: Hi, On Thu, Apr 7, 2011 at 4:40 PM, Anton Khirnov an...@khirnov.net wrote: On Thu, Apr 07, 2011 at 04:34:39PM -0400, Ronald S. Bultje wrote: On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote

[libav-devel] [PATCH] lavf: use designated initializers for all protocols

2011-04-07 Thread Anton Khirnov
This is more readable and makes it easier to reorder URLProtocol members. --- libavformat/applehttpproto.c | 12 ++--- libavformat/concat.c | 11 ++--- libavformat/file.c | 20 +- libavformat/gopher.c | 11 ++--- libavformat/http.c | 16

[libav-devel] [PATCH] minor avformat.h cleanup

2011-04-08 Thread Anton Khirnov
Hi, with the following patches, avformat.h should be reasonably clean for the upcoming bump. Further cleanup suggestions welcome. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/5] lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.

2011-04-08 Thread Anton Khirnov
--- libavformat/avformat.h |4 +++- libavformat/utils.c|4 libavformat/version.h |3 +++ 3 files changed, 10 insertions(+), 1 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 61babdc..6b1b2b4 100644 --- a/libavformat/avformat.h +++

[libav-devel] [PATCH 4/5] lavf: rename avf_sdp_create to av_sdp_create.

2011-04-08 Thread Anton Khirnov
The new name is more consistent with the rest of the API. Also rename its parameter from buff-buf, which is also more consistent. --- ffmpeg.c |2 +- ffserver.c |2 +- libavformat/avformat.h | 10 +++--- libavformat/rtspenc.c |2 +-

[libav-devel] [PATCH 5/5] lavf: bump minor and add an APIChanges entry for avformat cleanup

2011-04-08 Thread Anton Khirnov
--- doc/APIchanges|5 + libavformat/version.h |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 6f69e05..105c1f3 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -12,6 +12,11 @@ libavutil: 2009-03-08 API

[libav-devel] [PATCH 3/5] lavf: get rid of ffm-specific stuff in avformat.h

2011-04-08 Thread Anton Khirnov
--- ffmpeg.c |2 ++ ffserver.c |1 + libavformat/avformat.h |6 -- libavformat/ffm.h |5 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 83e77dd..749c9c7 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@

[libav-devel] [PATCH 2/2] lavf: rename a parameter of av_sdp_create from buff-buf

2011-04-08 Thread Anton Khirnov
This is more consistent with the rest of the API. --- libavformat/avformat.h |6 +++--- libavformat/sdp.c | 12 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 42020de..5c8456f 100644 ---

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-08 Thread Anton Khirnov
works, but the original side data already contains the padding, do you have to add more here? -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav

Re: [libav-devel] [PATCH 3/5] lavf: get rid of ffm-specific stuff in avformat.h

2011-04-08 Thread Anton Khirnov
On Fri, Apr 08, 2011 at 07:43:35AM -0400, Ronald S. Bultje wrote: Hi, On Fri, Apr 8, 2011 at 5:48 AM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c               |    2 ++  ffserver.c             |    1 +  libavformat/avformat.h |    6 --  libavformat/ffm.h      |    5

Re: [libav-devel] [PATCH 7/9] avio: deprecate av_protocol_next().

2011-04-08 Thread Anton Khirnov
at the application level. The point is, for most of those use cases you don't need access to URLProtocol, you can implement them on the AVIOContext level. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel

Re: [libav-devel] [PATCH 1/5] lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.

2011-04-08 Thread Anton Khirnov
On Fri, Apr 08, 2011 at 10:10:18AM -0400, Ronald S. Bultje wrote: Hi, On Fri, Apr 8, 2011 at 9:43 AM, Anton Khirnov an...@khirnov.net wrote: On Fri, Apr 08, 2011 at 07:39:52AM -0400, Ronald S. Bultje wrote: On Fri, Apr 8, 2011 at 5:48 AM, Anton Khirnov an...@khirnov.net wrote

Re: [libav-devel] [PATCH 3/5] lavf: get rid of ffm-specific stuff in avformat.h

2011-04-08 Thread Anton Khirnov
On Fri, Apr 08, 2011 at 10:07:32AM -0400, Ronald S. Bultje wrote: Hi, On Fri, Apr 8, 2011 at 9:47 AM, Anton Khirnov an...@khirnov.net wrote: On Fri, Apr 08, 2011 at 07:43:35AM -0400, Ronald S. Bultje wrote: On Fri, Apr 8, 2011 at 5:48 AM, Anton Khirnov an...@khirnov.net wrote

[libav-devel] [PATCH 1/2] avio: add a function for iterating though protocol names.

2011-04-08 Thread Anton Khirnov
--- libavformat/avio.c | 10 ++ libavformat/avio.h | 13 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index e043058..ab7a7f5 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -57,6 +57,16 @@ URLProtocol

[libav-devel] [PATCH 2/2] avio: deprecate av_protocol_next().

2011-04-08 Thread Anton Khirnov
--- cmdutils.c | 20 libavformat/avio.c |2 ++ libavformat/avio.h |4 +++- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 6901f56..cc10b48 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -653,20 +653,16 @@ void

[libav-devel] [PATCH 2/3] Implement url_check() in the file and pipe protocols.

2011-04-08 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it --- libavformat/file.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/libavformat/file.c b/libavformat/file.c index 31067ed..6eabdae 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -95,6

[libav-devel] [PATCH 3/3] Deprecate url_exist() and replace all its uses, use avio_check() instead.

2011-04-08 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it The problem with url_exist() is that it tries to open a file in RDONLY mode. If the file is a FIFO and there is a reading client, the open() call will hang, and the ffmpeg process will get stuck. Using avio_check() with no access mode of ~0

[libav-devel] [PATCH 1/3] Add avio_check() function.

2011-04-08 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it --- libavformat/avio.c | 16 libavformat/avio.h |9 + libavformat/url.h |1 + 3 files changed, 26 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index ad1f1b4..ecc7f27

Re: [libav-devel] [PATCH] raw dca muxer

2011-04-08 Thread Anton Khirnov
more readable and makes it easier to reorder fields (which I'd like to do during the bump). And you can get rid of some 0 values. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https

Re: [libav-devel] [PATCH 12/27] ffmpeg.c: rename map_meta_data option to map_metadata

2011-04-09 Thread Anton Khirnov
On Sat, Apr 09, 2011 at 02:19:05PM +0200, Kostya wrote: On Sat, Apr 09, 2011 at 01:49:55PM +0200, Reinhard Tartler wrote: From: Anton Khirnov an...@khirnov.net It's consistent with the -metadata option and easier to write. Signed-off-by: Janne Grunau janne-ffm...@jannau.net (cherry

Re: [libav-devel] [PATCH 21/27] Port drawtext filter by Hemanth from the libavfilter soc repo, with the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unico

2011-04-09 Thread Anton Khirnov
This one is already under review on our ML. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 04/27] Apply misc fixes to the image2 muxer documentation.

2011-04-09 Thread Anton Khirnov
the number in each filename is 0-padded to @var{N} digits. The literal character '%' can be specified in the pattern with the string %%. This one is a reverse of 01. -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel

[libav-devel] [PATCH 1/7] avio: update file header.

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 7bb8d17..6dfed4a 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -22,10 +22,7 @@ /** * @file - * unbuffered I/O operations - * - *

[libav-devel] [PATCH 5/7] avio: document some members of AVIOContext.

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index b30866c..e1c4876 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -43,10 +43,14 @@ * sizeof(AVIOContext) must not be used outside

[libav-devel] [PATCH 4/7] avio: cosmetics, group the reading functions.

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 73b023c..b30866c 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -461,13 +461,25 @@ void avio_flush(AVIOContext *s); */

[libav-devel] [PATCH 7/7] avio: document avio_close().

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index b1bce4c..cfe1bf8 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -559,6 +559,12 @@ int url_resetbuf(AVIOContext *s, int flags); */ int

[libav-devel] [PATCH 3/7] avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h | 196 ++-- 1 files changed, 84 insertions(+), 112 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 5a354b2..73b023c 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -95,12 +95,38 @@ typedef

[libav-devel] [PATCH 6/7] avio: cosmetics, vertically align comments.

2011-04-09 Thread Anton Khirnov
--- libavformat/avio.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index e1c4876..b1bce4c 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -54,10 +54,10 @@ typedef struct { int (*read_packet)(void

Re: [libav-devel] [RFC] doc: update developer guide

2011-04-10 Thread Anton Khirnov
Should have a short single line in the form of s/single/first/ + @samp{topic: short description} with few lines explaining the reason of the few following lines? -- Anton Khirnov signature.asc Description: Digital signature ___ libav-devel

Re: [libav-devel] [PATCH] Parse sprite data and decode sprites for WMVP and WVP2

2011-04-10 Thread Anton Khirnov
On Fri, Apr 08, 2011 at 08:12:09PM +0200, Kostya wrote: On Fri, Apr 08, 2011 at 08:00:48PM +0200, Alberto Delmás wrote: 2011/4/8 Kostya kostya.shish...@gmail.com: [...] All fixed. Yep, looks OK to me. Pushed. -- Anton Khirnov signature.asc Description: Digital signature

[libav-devel] [PATCH 3/6] file: implement url_check() callback in the file and pipe protocols

2011-04-12 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it Signed-off-by: Anton Khirnov an...@khirnov.net --- libavformat/file.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/libavformat/file.c b/libavformat/file.c index 31067ed..1dcb2c8 100644

[libav-devel] [PATCH 5/6] avio: deprecate url_exist in favor of avio_check.

2011-04-12 Thread Anton Khirnov
--- libavformat/avio.c |2 ++ libavformat/avio.h |5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 18b2ee6..cb923a7 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -365,6 +365,7 @@ int ffurl_close(URLContext

[libav-devel] [PATCH 2/6] avio: add avio_check()

2011-04-12 Thread Anton Khirnov
From: Stefano Sabatini stefano.sabatini-l...@poste.it The new function is more flexible than url_exist(), as it allows to specify which access flags to check, and does not require an explicit open of the checked resource. Signed-off-by: Anton Khirnov an...@khirnov.net --- libavformat/avio.c

[libav-devel] [PATCH 4/6] prefer avio_check() over url_exist()

2011-04-12 Thread Anton Khirnov
will check if the file exists without attempting to open it, thus avoiding the lock. Fix issue #1663. Signed-off-by: Anton Khirnov an...@khirnov.net --- ffmpeg.c |2 +- ffserver.c |4 ++-- libavformat/img2.c |6 +++--- 3 files changed, 6 insertions(+), 6 deletions

[libav-devel] [PATCH 6/6] lavf: bump minor and add an APIChanges entry for the last avio changes

2011-04-12 Thread Anton Khirnov
--- doc/APIchanges| 32 libavformat/version.h |2 +- 2 files changed, 33 insertions(+), 1 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index d65b2dd..f429aef 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -12,6 +12,38 @@ libavutil:

Re: [libav-devel] [PATCH] flvdec: Fix support for flvtool2 keyframes based generated index

2011-04-12 Thread Anton Khirnov
On Tue, Apr 12, 2011 at 11:58:44AM +0300, Martin Storsjö wrote: On Tue, 12 Apr 2011, Anton Khirnov wrote: On Tue, Apr 12, 2011 at 11:41:13AM +0300, Martin Storsjö wrote: From: Kharkov Alexander kharkovalexan...@gmail.com Current keyframes data parser unconditionally rewind metadata

Re: [libav-devel] [PATCH] flvdec: Fix support for flvtool2 keyframes based generated index

2011-04-12 Thread Anton Khirnov
On Tue, Apr 12, 2011 at 12:31:28PM +0300, Martin Storsjö wrote: On Tue, 12 Apr 2011, Anton Khirnov wrote: On Tue, Apr 12, 2011 at 11:58:44AM +0300, Martin Storsjö wrote: On Tue, 12 Apr 2011, Anton Khirnov wrote: On Tue, Apr 12, 2011 at 11:41:13AM +0300, Martin Storsjö wrote

  1   2   3   4   5   6   7   8   9   10   >