Stefan Kost
a184419ec5
buffer: allow configurable memory alignment. Fixes #596832
...
The alignment guaranteed by malloc is not always sufficient. E.g. vector
instructions or hardware subsystems want specifically aligned buffers. The
attached patch will use posix_memalign if available to allocate buffers.
The desired alignment can be set when running configure using the new
--with-buffer-alignment option.
2010-03-11 10:00:28 +02:00
Benjamin Otte
679deb7581
Automatic update of common submodule
...
From 9720a7d to df8a7c8
2010-03-10 21:51:50 +01:00
Benjamin Otte
7022923326
Merge branch 'work'
2010-03-10 20:52:06 +01:00
Benjamin Otte
a9d1a493a7
Fixes for -Wwrite-strings
...
This changes some APIs in compatible ways:
- Some functions now take "const char *" arguments, not "char *"
- Some structs now have "conts char *" members, not "char *"
The changes may cause warnings when compiling with the right warning
flags. You've been warned.
Also adds -Wwrite-strings as a warning flag in configure.ac.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:50:10 +01:00
Benjamin Otte
22f87a529f
Fixes -Wundef warnings
...
... and adds that flag to configure.ac
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:46:09 +01:00
Benjamin Otte
58415ef177
benchmarks: Remove unneeded g_thread_exit()
...
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:35 +01:00
Benjamin Otte
3234c0128b
Fixes for -Wold-style-definition
...
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:35 +01:00
Benjamin Otte
e8f65e8bff
Make code safe for -Wredundant-decls
...
Adds that warning to configure.ac
Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:33 +01:00
Benjamin Otte
121640ccec
Automatic update of common submodule
...
From 0b6e072 to 9720a7d
2010-03-10 20:43:35 +01:00
Benjamin Otte
f067d38d1d
Make sure generated code doesn't run with -Werror
...
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 19:27:09 +01:00
Benjamin Otte
766ac7ec3c
Update to common/ changes to ERROR_CFLAGS
2010-03-10 19:27:09 +01:00
Benjamin Otte
0d4d5a57da
Revert "registry: remove unused function"
...
Turns out the function is not unused, but was in an #ifdef WIN32
section.
Whoops.
This reverts commit 57d5db424c
.
2010-03-10 19:17:42 +01:00
Benjamin Otte
93a7938289
Automatic update of common submodule
...
From 7cc5eb4 to 0b6e072
2010-03-10 16:09:33 +01:00
Benjamin Otte
57d5db424c
registry: remove unused function
...
Actually, there was two functions with the same name, but only one was
used.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 15:24:11 +01:00
Benjamin Otte
5c01dcb1f7
remove unused gst_element_default_error()
...
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 15:24:11 +01:00
Jeremy Huddleston
fa0d218e4c
utils: Use mulq instead of mul as some assemblers can't guess the size of the operands
...
Fixes bug #612370 .
2010-03-10 07:17:07 +00:00
Tim-Philipp Müller
27d2d9b357
Automatic update of common submodule
...
From 7aa65b5 to 7cc5eb4
2010-03-10 01:09:11 +00:00
Sebastian Dröge
760a91561c
Automatic update of common submodule
...
From 44ecce7 to 7aa65b5
2010-03-09 21:20:27 +00:00
Sebastian Dröge
ce74a1ae19
build: Make some more rules silent if requested
2010-03-09 20:57:17 +00:00
Sebastian Dröge
3a48930a02
configure: Use automake 1.11 silent rules instead of shave if available
...
This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.
2010-03-09 20:57:16 +00:00
Sebastian Dröge
e6ff20c416
lfocontrolsource: Optimize get_value_array()
...
Don't convert from GValue to the actual type for every single
value.
2010-03-09 20:57:16 +00:00
Sebastian Dröge
c6e7cf626a
interpolationcontrolsource: Optimize get_value_array()
...
This makes it >10x faster if more than a single value is requested
by not searching in the GSequence for every value and converting
the value from GValue to the real value type.
2010-03-09 20:57:16 +00:00
Sebastian Dröge
800a63e2b3
controller: Add benchmark for getting a value array of the control points
2010-03-09 20:57:16 +00:00
Benjamin Otte
5c4044d5f9
Fix typos in documentation
2010-03-09 19:18:21 +01:00
Benjamin Otte
ec10b764b9
caps: Fail when fractions are followed by random text
...
Previous code treated "1/1yourmom" the same as "1/1" and "1wimsmom" the
same as "1". Now the code is stricter and will fail to convert a
fraction when followed by garbage text.
2010-03-09 19:18:21 +01:00
Tim-Philipp Müller
b74d73980b
Back to development
2010-03-09 17:37:45 +00:00
Tim-Philipp Müller
3d9213ffa2
Release 0.10.28
2010-03-08 23:09:01 +00:00
Tim-Philipp Müller
078d4e2721
Update .po files
2010-03-08 23:06:48 +00:00
Benjamin Otte
4743e62be8
caps: Allow 1/max as the minimal fraction value > 0
...
This is useful for formats that require a valid framerate (like
theoraenc).
2010-03-08 22:26:34 +01:00
Wim Taymans
14113e8661
element: fix typo in comments
2010-03-08 17:36:02 +01:00
Tim-Philipp Müller
cebc1a1396
Release 0.10.27
2010-03-05 23:43:26 +00:00
Tim-Philipp Müller
91228c2fc9
Update .po files
2010-03-05 23:41:09 +00:00
Tim-Philipp Müller
4cbf794b0e
gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT()
...
This may cause crashes when logging is enabled, especially on windows.
It's not safe to pass random pointers to g_type_check_instance_is_a().
Fixes #611719 .
2010-03-04 18:40:50 +00:00
Tim-Philipp Müller
2586004e85
0.10.26.4 pre-release
2010-03-03 19:54:50 +00:00
Tim-Philipp Müller
9785c44434
po: update translations
2010-03-03 19:49:34 +00:00
Tim-Philipp Müller
91a09b9fd4
docs: fix up bytewriter doc chunks for float functions as well
2010-03-03 12:06:30 +00:00
Tim-Philipp Müller
e50b9aa71e
bytewriter: fix headers for float/double writing functions
...
The functions are called gst_byte_writer_put_{float32|float64}_*() and not
gst_byte_writer_put_{float|double}_*().
Spotted by: Benjamin Otte <otte@redhat.com>
2010-03-03 11:28:27 +00:00
Tim-Philipp Müller
0b954928c8
tags: try to make comment for translators more helpful
2010-03-01 12:02:44 +00:00
Mark Nauwelaerts
8cdf5a586f
basesink: fix emergency rendering timestamp tracking
...
Specifically, if all (including initial) buffers turn up late,
emergency rendering should also kick in appropriately.
Fixes #611087 .
2010-02-26 15:48:41 +01:00
Tim-Philipp Müller
4818f60cd5
0.10.26.3 pre-release
2010-02-24 00:30:02 +00:00
Tim-Philipp Müller
cd8e048d65
po: update translations
2010-02-24 00:29:25 +00:00
Sebastian Dröge
b30c7d370e
interpolationcontrolsource: Don't pass NULL pointers to GSequence API
...
This causes assertion failures. Fixes bug #610444 .
2010-02-19 14:31:54 +01:00
Sebastian Dröge
82f380704a
interpolationcontrolsource: Add const qualifiers to values in the _set functions
...
The values are not modified and are copied, a const before the parameter
should make this even more obvious.
2010-02-19 14:31:54 +01:00
Sebastian Dröge
4f840e05fd
controller: Add some FIXME 0.11 comments
2010-02-19 14:31:54 +01:00
Sebastian Dröge
1eea2495ff
corelements: Combine redundant code
2010-02-19 14:31:54 +01:00
Andoni Morales Alastruey
09bbc1493d
Fix compilation of fdsink and fdsrc with MSVC
2010-02-19 14:31:54 +01:00
Tim-Philipp Müller
6a4491efa9
0.10.26.2 pre-release
2010-02-18 20:08:39 +00:00
Tim-Philipp Müller
0cd4d3087f
.gitignore: ignore some more temporary docs cruft
2010-02-18 20:08:39 +00:00
Tim-Philipp Müller
0d6a9c04e6
build: fix indenting in win32-update target
...
No idea why we need to run gst-indent twice on that file, but it
only seems to settle on a final format with minimal diff to the
one in git after two runs.
2010-02-18 20:08:39 +00:00
Tim-Philipp Müller
a39bca5f66
gstcheck: more debug logging for gst_check_element_push_buffer_list()
2010-02-18 20:08:39 +00:00