Commit graph

9640 commits

Author SHA1 Message Date
Stefan Kost
65f4c4b3e6 spectrum: factor out the code that accumulated samples into the ring-buffer
Use a separate function to read a sample frame into a ringbuffer slot. In the
future we can use format-specific function pointer to avoid the reoccuring
format checks.
2011-03-09 17:00:58 +02:00
Stefan Kost
5b9028c52c spectrum: pull format to temp var to improve readability of lines using it 2011-03-09 17:00:58 +02:00
Stefan Kost
b60675acaf spectrum: code cleanup for copying data to ring-buffer
Rename fp to is_float and restructure if-else part for handling the different formats.
2011-03-09 17:00:58 +02:00
Stefan Kost
787aca6898 spectrum: add a GstSpecrtumChannel context structure
We now keep the fft data that is related to one channel in a separate structure
to prepare for multichannel support. We also refactor the code to operate more
often on the channel context.
2011-03-09 17:00:57 +02:00
Stefan Kost
2fd09ebd89 spectrum: call the instance var spectrum instead of filter 2011-03-09 17:00:57 +02:00
Stefan Kost
d8d6a3b79e spectrum: don't value we already took from the gvalue 2011-03-09 17:00:57 +02:00
Tim-Philipp Müller
d0c5b86727 Merge ad-hoc release branch '0.10.28' 2011-03-08 16:33:44 +00:00
Tim-Philipp Müller
a4e1b18b65 Release 0.10.28
Ad-hoc release to fix build issue with newer kernels.
2011-03-08 15:47:52 +00:00
Tim-Philipp Müller
545774d7d0 v4l2: remove unnecessary linux/videodev.h include
Causes compilation issues with newer kernel headers where the old
v4l interface has been removed.

https://bugzilla.gnome.org/show_bug.cgi?id=643716
2011-03-08 14:39:25 +00:00
Mark Nauwelaerts
1f7f434df6 jitterbuffer: also estimate eos if very near eos 2011-03-07 16:56:43 +01:00
Mark Nauwelaerts
3c9a4239bf jitterbuffer: avoid trying to buffer more than is available.
That is, in case of short (or near eos of) stream, deadlock (until timeout)
would occur trying to buffer more than is yet forthcoming.
2011-03-07 16:56:18 +01:00
Mark Nauwelaerts
f84b8a69cb jitterbuffer: reset element base_time upon flush
... to arrange for properly scheduled timeout (following seek).
2011-03-07 11:07:12 +01:00
Sebastian Dröge
1a8aa16612 cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
2011-03-07 10:54:22 +01:00
Sebastian Dröge
7f85827bf7 examples: Always dist the cairo example 2011-03-07 10:47:23 +01:00
Sebastian Dröge
8b9183c633 cairooverlay: Use LDADD instead of LDFLAGS for libs and add $(GST_LIBS) 2011-03-07 10:46:12 +01:00
Jon Nordby
92808b1010 cairooverlay: Remove unnecessary gtk/gtk-x11 use in example.
This removes code, and allows the example to be used on any platform.

Fixes bug #643981.
2011-03-07 10:44:48 +01:00
David Schleef
910a6f0c96 v4l2: Use #ifdefs for V4L2_PIX_FMT_PJPG
It's only recently added to kernel headers.
2011-03-04 18:38:39 -08:00
Mark Nauwelaerts
b69c605c2c wavparse: tune output max buffer size to material
... to avoid ending up with tons of short time buffers for e.g. high sample
rate audio.
2011-03-04 18:43:29 +01:00
Stefan Kost
89914439b7 pulsesink: add a doc example for setting stream-properties 2011-03-04 15:50:49 +02:00
Stefan Kost
edfa99ef31 pulsesink: fix the xml in the docs 2011-03-04 15:50:49 +02:00
Tim-Philipp Müller
0cd62a10ad v4l2: remove unnecessary linux/videodev.h include
Causes compilation issues with newer kernel headers where the old
v4l interface has been removed.

https://bugzilla.gnome.org/show_bug.cgi?id=643716
2011-03-03 17:37:19 +00:00
Sebastian Dröge
08232b470e cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
2011-03-02 23:21:15 +01:00
Sebastian Dröge
fdbdbfefd2 cairooverlay: Some minor cleanup 2011-03-02 23:14:36 +01:00
Sebastian Dröge
6810b1bab9 docs: Update inspected plugin data 2011-03-02 23:09:21 +01:00
Jon Nordby
32dff9df75 cairooverlay: Add generic Cairo overlay video element.
Allows applications to connect to the "draw" signal of
the element and do their custom drawing there.
Includes an example application demonstrating usage.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520
2011-03-02 22:55:52 +01:00
Stefan Kost
3ec3bed497 monoscope: don't leak the monoscope_state data
The monoscope_close() implementation was empty.
2011-03-02 13:01:45 +02:00
Stefan Kost
7bc3344131 monoscope: we have 64 colors, don't access colors[64]
Fixes remaining invalid read.
2011-03-02 13:01:45 +02:00
Mark Nauwelaerts
0ffd4ff8c0 qtdemux: arrange for non-fatal error when parsing non-vital parts 2011-03-02 10:26:46 +01:00
Stefan Kost
d2ee8b979d monoscope: stack needs to be size+1 as we put a end-marker into it
Valgrind is still complaining about one bad read, but this takes care of the
crash mentioned in the comment and in bug #564122.
2011-03-02 10:56:33 +02:00
Stefan Kost
4e9daf0e49 example: fix the variable name for the ip-address
Fix the name in the launch pipeline and use a value of "localhost" by default.
2011-03-01 22:40:19 +02:00
Mark Nauwelaerts
1ccadf5c30 configure.ac: cygwin/mingw; enable plugin linking to static lib
Useful for DirectX plugin(s).

Fixes #642507.
2011-02-28 19:23:46 +01:00
Mark Nauwelaerts
ac6535560e configure.ac: export plugin description more platform independent
Fixes #642504.
2011-02-28 19:13:41 +01:00
Mark Nauwelaerts
a48fffedbf Automatic update of common submodule
From 1de7f6a to 6aec6b9
2011-02-28 18:32:54 +01:00
Philip Jägenstedt
dd4ec22e7e pulsesink: release pa_shared_resource_mutex before pa_threaded_mainloop_wait
Not doing so can result in a deadlock when two threads enter
gst_pulseringbuffer_open_device at the same time, as
pa_threaded_mainloop_wait releases the mainloop lock while waiting,
allowing another thread to take it, resulting in a deadlock as two
threads waits for the lock the other is holding.

https://bugzilla.gnome.org/show_bug.cgi?id=643087
2011-02-28 16:20:22 +05:30
Philip Jägenstedt
683c96b37a pulsesink: s/ressource/resource/
https://bugzilla.gnome.org/show_bug.cgi?id=643087
2011-02-28 16:20:20 +05:30
David Schleef
caa971e605 qtdemux: remove accidental debug message
in previous commit
2011-02-25 20:12:35 -08:00
David Schleef
6565dd5fbc qtdemux: Add support for 2Vuy and r210 2011-02-25 19:36:26 -08:00
Sebastian Dröge
88cbcf5aa4 deinterlace: Add support for NV21 colorspace 2011-02-24 14:08:25 +01:00
Carsten Kroll
ce0e34a0d5 deinterlace: Add support for NV12 colorspace
Fixes bug #642961.
2011-02-24 14:00:37 +01:00
Carsten Kroll
d4eaff5e88 dvdemux: First try if upstream handles TIME seeks before handling them here
Fixes bug #642963.
2011-02-24 13:57:01 +01:00
Robert Swain
6607cdcc08 deinterlace: Simplify setcaps
The current code never uses upstream negotiation so the code can be
significantly simplified.
2011-02-23 13:09:19 +01:00
Robert Swain
6402556157 deinterlace: Port greedyl to GstDeinterlaceSimpleMethod
The main goal of this change is to reuse the complex but now neatly
written scanline pointer calculation code from the simple methods.
2011-02-23 13:09:19 +01:00
Stefan Kost
98501f6f45 Revert "id3demux: ensure a taglist before adding the container tag"
This reverts commit a86bab6689. The issue is
fixed with commit ff5e5a8f0d instead.
2011-02-22 15:21:42 +02:00
Stefan Kost
ff5e5a8f0d id3demux: return ID3TAGS_BROKEN_TAG for unsupported versions
This prevents us for trying to work with a NULL taglist.
2011-02-22 15:21:28 +02:00
Edward Hervey
e08bdf691d qtdemux: Fix unitialized variable. 2011-02-22 14:16:05 +01:00
Mark Nauwelaerts
940417edc3 avidemux: ensure sane parameters when parsing superindex 2011-02-22 14:03:25 +01:00
Mark Nauwelaerts
d680842a7f avidemux: check for NULL audio stream format header when parsing stream 2011-02-22 14:03:23 +01:00
Stefan Kost
f73cc87239 rtp-examples: move capsfilter behind converters
We need to have the capsfilter behin the converters to make the converters
convert from the formats v4l2src can do to what we request with the
capsfilter.
2011-02-22 14:54:28 +02:00
Stefan Kost
768dbfaf92 rtp-examples: fix ascii-art
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.
2011-02-22 14:54:28 +02:00
Blaise Gassend
0f88181f43 rtpbin: handle NULL demux elements
When using gstrtpbin with ignore-pt=true, the free_stream function tries to
call gst_element_set_locked_state and gst_element_set_state on a stream->demux
which is NULL.

fixes #642412
2011-02-22 13:31:35 +01:00