Displaying 20 results from an estimated 200 matches similar to: "PATCH for seek bug (#1154585)"
2004 Sep 10
0
better seeking
And here is another one. It allows fast seeking in streams without
total_samples information.
There is a check for such streams in flac, so flac --skip doesn't
work. If the check is removed, it will work with --force-raw-format
only, there is an issue with wav and aiff header handling.
--
Miroslav Lichvar
-------------- next part --------------
---
2005 Jan 25
0
bitbuffer optimizations
On Mon, Jan 24, 2005 at 06:31:21PM -0800, Josh Coalson wrote:
> yes, a mere 2 years later it is checked in!
>
> speed improvement for me is roughly 17% testing flac files on
> linux-i386.
Thanks!
In case you would like to check another old patch, I have attached updated
patch for seekable stream decoder, originally posted on 09/07/2003.
--
Miroslav Lichvar
-------------- next
2004 Sep 10
2
better seeking
When I was trying to find yesterday's xmms-plugin bug, i have noticed
that seeking in stream without seek-table isn't very good. With
attached patch it is much better.
--
Miroslav Lichvar
-------------- next part --------------
--- src/libFLAC/seekable_stream_decoder.c.orig 2003-02-26 19:41:51.000000000 +0100
+++ src/libFLAC/seekable_stream_decoder.c 2003-07-09 23:49:35.000000000 +0200
2006 Nov 03
2
better seeking
On Mon, Oct 30, 2006 at 11:13:25AM -0800, Josh Coalson wrote:
> my apologies for not doing this before Miroslav... I will definitely
> integrate it this time.
Thanks. Sending latest version of the patch. Now it can seek in files
that have large id3 tag (or any random data) at the end and it won't loop on
streams with shuffled frames.
--
Miroslav Lichvar
-------------- next part
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
---
configure.ac | 7 +++++
src/libFLAC/bitreader.c | 12 ++-------
src/libFLAC/bitwriter.c | 8 ++----
src/libFLAC/fixed.c | 18 +++++--------
src/libFLAC/format.c | 8 ++----
src/libFLAC/include/private/macros.h | 29 ++++++++++++++++++++
src/libFLAC/metadata_iterators.c | 17 +++---------
2006 Nov 07
0
better seeking
On Mon, Nov 06, 2006 at 08:50:44AM -0800, Josh Coalson wrote:
> ok, tried it out... passes test/test_seeking.sh and my
> "xmms twitch" test, checked in to CVS. thanks!
Thanks!
I see you have changed the channels and bps setting, this doesn't work
when the decoder hasn't decoded a frame. There should be a fallback
for this case.
--
Miroslav Lichvar
-------------- next
2006 Mar 19
0
Patch -- Decode Position for libFLAC++ file and seekable_stream decoder
Index: src/libFLAC++/file_decoder.cpp
===================================================================
RCS file: /cvsroot/flac/flac/src/libFLAC++/file_decoder.cpp,v
retrieving revision 1.9
diff -u -r1.9 file_decoder.cpp
--- src/libFLAC++/file_decoder.cpp 25 Jan 2005 04:18:35 -0000 1.9
+++ src/libFLAC++/file_decoder.cpp 20 Mar 2006 05:53:19 -0000
@@ -159,6 +159,12 @@
return
2004 Sep 10
0
new checkins
I have in my working directory the trivial header changes necessary to allow
FLAC library functions to be used in C++ programs. Is it OK to commit this?
--
- mdz
-------------- next part --------------
? Makefile
? Makefile.in
? ordinals.h
Index: file_decoder.h
===================================================================
RCS file: /cvsroot/flac/flac/include/FLAC/file_decoder.h,v
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
I think I figured out where the problem is. In my metadata_callback,
I added a thing to print out the max_framesize and max_framesize from
the stream_info block. Those are both zero. The ..._seek_absolute()
function of the SeekableStreamDecoder uses the max_framesize to guess
at where to seek. It doesn't seem to handle the case when
max_frame_size is zero very well. I'm looking
2009 Jun 14
3
python bindings to libtheora
Hi,
in the past two days I wrote Python bindings to libtheora:
http://github.com/certik/python-theora
Currently it can read any ogv file (that seems to work quite well) and
also encode to ogv (this mostly works, but there are some subtle
issues to be fixed, I suspect I still have some bug in the way I half
the dimensions of the Cb and Cr planes, so when you read ogv and write
ogv, the resulting
2006 Oct 28
3
better seeking
Ok, the patch from 2003 about improving seeking still didn't make it
to CVS, so here is another try.
I made some benchmarking with the test_seeking utility from flac
sources to show how bad the current seeking is, especially without
seektable. Track used for the experiment had about 50 minutes.
In the following table is average number of seeks and number of
decoded frames required for one
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
This has the advantage of being more efficient than the included
routines and allows distros to centralize crypto mainteniance on
a few libraries.
---
configure.ac | 4 +-
m4/ax_check_openssl.m4 | 124 +++++++++++++++++++++++++++++++++++++
src/libFLAC/Makefile.am | 2 +-
src/libFLAC/include/private/md5.h | 8 ++-
src/libFLAC/md5.c
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
On Fri, Jan 25, 2002 at 07:22:05PM -0800, Josh Coalson wrote:
> sorry about the delay... first, yes you are calling it
> correctly. if your encoded files have max_framesize == 0,
> then that should mean that either 1) you were using the
> command-line flac to encode to stdout; or 2) you are using
> libFLAC directly. if 2, you can replicate the functionality
> that is in
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
Hi,
the patch below fixes function prototypes/defintions with void
argument to shut up the heartful warnings by recent gcc :)
It doesn't cover all places, e.g. test directories.
The patch is to 1.1.2.
Takashi
--- src/metaflac/operations.c-dist 2005-05-25 16:20:02.000000000 +0200
+++ src/metaflac/operations.c 2005-05-25 16:20:09.000000000 +0200
@@ -26,7 +26,7 @@
#include <stdlib.h>
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
sorry about the delay... first, yes you are calling it
correctly. if your encoded files have max_framesize == 0,
then that should mean that either 1) you were using the
command-line flac to encode to stdout; or 2) you are using
libFLAC directly. if 2, you can replicate the functionality
that is in src/flac/encode.c:metadata_callback() to write
back statistics and seek table to the metadata in
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
On Thursday 04 October 2007 04:27:47 you wrote:
> Sir, you need to provide more information. What kind of errors? What
> is not working? What exactly are you trying to do? What compiler are
> you using?
H IV0,
we are using a lot of different cross-compiler (mainly based on GCC 3.4.x)
When I tried to cross-compile FLAC for non-i386 platforms (such as ARM), I use
use
2004 Sep 10
2
stat() and Windows
I tried to compile FLAC on Windows (the winamp2 plugin as a test) and I
encoutered a problem. The stat() function and the associated structure
doesn't exist on Windows (Visual Studio 5/6). But _stat and the
structure with the same name does exist. So would it be possible to
change stat() and struct stat ?
I did the following in the code :
#define STAT(x,y) _stat(x,y)
typedef struct stat
2009 Jun 15
0
python bindings update
Hi,
here is a webpage for the Python bindings:
http://certik.github.com/python-theora/
Changes since the last time:
* tests added, e.g. there is a script that downloads some theora tests
videos and then I test the python wrappers on them
* every single method has a docstring with a doctested example
* sphinx documentation added, see the link above
* couple minor changes, like better control
2004 Sep 10
1
seek problem
Hi Flac developers!
I'm using the seekable_stream_decoder API of libFLAC 1.03
and I'm stuck with a mysterious problem:
my FLAC plugin works nicely as long as the seek_absolute()
function is never used, but as soon as I seek around in a
sample (ie. call seek_absolute() with an offset != 0), I cannot
detect the end of a file anymore. decoder_get_state() never
returns
2007 Jan 02
4
Is FLAC fully cooked for OS X yet?
On Jan 2, 2007, at 5:15 AM, Arek Korbik wrote:
> The XCode project files you found are meant to be used with FLAC
> 1.1.2. The FLAC repository now contains version 1.1.3 files, and there
> have been interface changes in that latest revision
> (http://flac.sourceforge.net/changelog.html#flac_1_1_3). That could
> explain your problems with compilation.
Well, now, no, I did download