Wim Taymans
989d9861e3
basesink: whitespace fixes
2009-08-24 17:56:32 +02:00
David Schleef
6df1127daa
It's __GNUC__, not _GNUC_
...
This appears to be an 8 year old bug.
2009-08-22 15:49:12 -07:00
Tim-Philipp Müller
78ef5ff4c7
docs: add link to cgit tarball download of gst-template in PWG
...
So people who can't use git for some reason still can get hold
of the code. See #591069 .
2009-08-21 10:02:17 +01:00
Tim-Philipp Müller
a01e5b8dca
pluginfeature: add guard to gst_plugin_feature_type_name_filter
...
So we don't just crash if there's a refcounting bug somewhere else.
2009-08-20 11:55:44 +01:00
Sebastian Dröge
9f0e832c6c
docs: Don't talk about the deprecated libgnome and GNOME-VFS
...
Instead talk about GIO and change the option parsing example to
not initialize libgnome but only GTK.
Fixes bug #592233 .
2009-08-19 16:24:39 +02:00
Sebastian Dröge
b0b971ff32
examples: Link rtpool-test to libpthread for using the POSIX threads
...
Also the other streams example can run without pthreads therefore
enable it even if pthreads are not available.
Fixes bug #592314 .
2009-08-19 15:25:41 +02:00
Sebastian Dröge
1e39f6ea0e
tools: Use iterate_internal_links instead of deprecated get_internal_links
2009-08-18 14:57:25 +02:00
Sebastian Dröge
269d3581c5
multiqueue: Use iterate_internal_links instead of deprecated get_internal_links
2009-08-18 14:57:18 +02:00
Sebastian Dröge
884467d493
gstpad: Add some DISABLE_DEPRECATED markers in the header too
...
The internal links function is deprecated since some time and
there already were GST_REMOVE_DEPRECATED markers in the source file,
now add them to the header too.
Fixes bug #592209 .
2009-08-18 14:57:08 +02:00
Sebastian Dröge
bf8af3f734
docs: Update the design docs for bin state changes according to last commit
2009-08-18 11:38:38 +02:00
Antoine Tremblay
c87d551705
gstbin: Don't try to change children's state if they're already in the state we want
...
Fixes bug #368536 .
2009-08-18 11:36:36 +02:00
Sebastian Dröge
a0ed1a44a5
ghostpad: Always get the proxypad's ghostpad via the ghostpad in the src caps change notify handler
...
Before the signal handler would get the ghostpad passed as second
argument but it could've already been unreffed and destroyed.
This would then lead to crashes and all that.
Now we get the ghostpad from the proxy pad, which we get from the
target pad as it's peer.
Fixes bug #591318 .
2009-08-18 11:33:17 +02:00
Laurent Glayal
abafed991e
filesink: Add property to allow to append to an already existing file
...
Fixes bug #591441 .
2009-08-18 08:45:08 +02:00
Sebastian Dröge
95f555379a
configure: Remove duplicated check for clock_gettime
2009-08-14 11:53:14 +02:00
Sebastian Dröge
2919e5add8
gstutils: Add special random unit test for 64 scaling functions
...
This tests 100000 random multiplications/divisions of all scaling
function variants and compares the result with the result that is
generated by GMP on the same input.
For this check for GSL and GMP during configure but only use
it for this single unit test.
Testing functions were provided by Kipp Cannon <kcannon@ligo.caltech.edu>
2009-08-14 11:12:50 +02:00
Sebastian Dröge
76338950f9
gstutils: Add new scaling functions to the docs
2009-08-13 16:32:28 +02:00
Sebastian Dröge
535952c9fa
gstutils: Add (very) minimal unit test for the new rounding scaling functions
2009-08-13 16:32:28 +02:00
Kipp Cannon
9cfd9f9374
gstutils: API: Add rounding to nearest and next integer versions of the 64 bit integer scaling functions
...
The new functions are
gst_util_uint64_scale_int_round()
gst_util_uint64_scale_int_ceil()
gst_util_uint64_scale_round()
gst_util_uint64_scale_ceil()
Fixes bug #590919 .
2009-08-13 16:32:28 +02:00
Kipp Cannon
61481c1b79
gstutils: Revert parts of last change to optimize the scaling functions again
...
Partially fixes bug #590919 .
2009-08-13 16:32:28 +02:00
Sebastian Dröge
6a84be95be
gstutils: Fix violations of strict-aliasing rules in gst_util_uint64_scale()
2009-08-13 16:32:27 +02:00
Kipp Cannon
3d359729af
gstutils: Refactor gst_util_uint64_scale()
...
This will later make it possible to provide rounding versions
of it without much code duplication.
Partially fixes bug #590919 .
2009-08-13 16:32:27 +02:00
Jonas Holmberg
824a0b5f5f
bufferlist: update doc string
2009-08-11 15:21:33 +02:00
Sebastian Dröge
276a55fd24
gstsegment: Actually start==stop==segment_start is inside the segment
...
Still the old code was wrong as it claimed that start==stop<segment_start
would be inside the segment and returned insane clipping differences.
2009-08-11 13:21:35 +02:00
Sebastian Dröge
868538945b
gstsegment: Fix unit test and add an additional test
...
The previous test assumed that start=stop=segment_start will
be inside the segment but this is wrong.
2009-08-11 13:03:03 +02:00
Sebastian Dröge
ca8a0376c5
gstsegment: Clipping should detect start=stop<segment_start as outside the segment
...
Before it returned that [start,stop] is inside the segment and that the
difference between segment_start and start needs to be clipped. If the
clipping is done on a buffer (like in baseaudiosink) this will result
in the data pointer being at a invalid memory position.
Fixes bug #589849 .
2009-08-11 12:59:13 +02:00
Sebastian Dröge
46b2a5a34e
gstbus: Unref pipeline after usage in test_custom_main_context unit test
...
This makes the core unit tests valgrind clean again.
2009-08-11 05:48:22 +02:00
Edward Hervey
adb16ca162
docs: add Edward's git plugin moving howto to moving-plugins document
2009-08-11 02:54:55 +01:00
Tim-Philipp Müller
60a962dcb8
checks: don't forget to include config.h in the GstObject unit test
2009-08-10 14:30:34 +01:00
Tim-Philipp Müller
657c68fc99
checks: try to fix GstObject unit test on OSX
...
Seems like we get SIGBUS instead of SIGSEGV here when GLib crashes
where it shouldn't crash (and we even have a unit test for that!).
2009-08-10 13:05:57 +01:00
Tim-Philipp Müller
3bf19f0a45
checks: set pipelines to NULL state in parse-launch unit test
...
Fixes timeouts in gst_task_cleanup_all().
2009-08-10 12:01:48 +01:00
Tim-Philipp Müller
a6c84b2ae6
checks: set pipeline back to NULL state in GstBus unit test
...
Fixes timeout in gst_task_cleanup_all().
2009-08-10 11:55:52 +01:00
Tim-Philipp Müller
7e6966faf6
check: add some logging before calling gst_task_cleanup_all()
2009-08-10 11:55:35 +01:00
Sebastian Dröge
d465851cb7
check: Call gst_task_cleanup_all() in GST_END_TEST
...
This fixes many unit tests under valgrind that shows
leaking GstTasks that are not really leaked but just
not unreffed by the task thread before the unit test
stopped.
Fixes bug #591045 .
2009-08-08 22:29:03 +02:00
Edward Hervey
8eb9d55627
basesink: Remove dead assignments
2009-08-08 14:47:57 +02:00
Edward Hervey
51bc185f7f
gst: Remove dead assignments
2009-08-08 14:47:40 +02:00
Tim-Philipp Müller
699539a331
gitignore: ignore new queue-error test
2009-08-07 02:36:29 +01:00
Tim-Philipp Müller
e398ad07f8
check: add internal-check.h to BUILT_SOURCES in attempt to fix the build
...
For some people the build of libgstcheck was broken because the make
target that creates the internal-check.h file wasn't executed for
some reason. This should hopefully fix this.
2009-08-06 20:43:55 +01:00
Tim-Philipp Müller
a2a23800bf
autogen.sh: older aclocals don't like -I. so use -I . instead
2009-08-06 18:38:16 +01:00
Wim Taymans
aa33db85cc
gstbuffer: add additional checking for writability
...
Check for metadata writability when setting caps on buffer or when copying
metadata flags. Only enable these extra assertions in git versions.
This should help us find bad elements.
2009-08-06 18:47:32 +02:00
Tim-Philipp Müller
06cc1d1d58
check: disable unit test support on win32 for now
...
Until we make the internal libcheck work on windows.
2009-08-06 17:35:13 +01:00
Tim-Philipp Müller
2d42fd4a2f
check: fix symbol exporting
2009-08-06 17:27:25 +01:00
Tim-Philipp Müller
572b213b79
check: fix issues with 'make distcheck'
...
Seems to work now, at least on *nix. One of the configure checks
caused these weird issues - but which one?
2009-08-06 17:27:24 +01:00
Tim-Philipp Müller
ecbea36d39
check: use private copy of check for libgstcheck
...
See #577275 . Seems to work fine, but doesn't distcheck yet.
2009-08-06 17:27:12 +01:00
Tim-Philipp Müller
a209779f1c
check: add internal copy of check-0.9.6
...
Not hooked up yet. See #577275 .
2009-08-06 14:26:32 +01:00
Tim-Philipp Müller
459c2b9c79
docs: fix Since: tag for new gst_caps_can_intersect() function
2009-08-06 14:11:46 +01:00
Stefan Kost
50fbc34f3f
utils: use new _caps_can_intersect()
2009-08-06 15:30:34 +03:00
Stefan Kost
aee208ff30
pad: use new _caps_can_intersect()
2009-08-06 15:30:33 +03:00
Stefan Kost
04470fc794
basetransform: use new _caps_can_intersect()
2009-08-06 15:30:33 +03:00
Stefan Kost
568202cb47
caps: add gst_caps_can_intersect()
...
Often we don't need the result of the intersection. Add a variant that only
tries to intersect. It can break out earlier and does less GValue copying.
API: gst_caps_can_intersect()
2009-08-06 15:30:33 +03:00
Stefan Kost
cfacd2cbb3
basetransform: only check caps_is_fixed() if they changed
...
The previous code could call gst_caps_is_fixed() for the same caps many times.
2009-08-06 15:30:33 +03:00