Commit graph

10475 commits

Author SHA1 Message Date
Wim Taymans
e9d80b9f14 v4l2sink: handle pools
Create a new pool in setcaps and stop/destroy the old one.
Remove buffer_alloc functions.
Check that we have v4l2 metadata in show_frame and fall back to memcpy into a
buffer from our pool if we don't receive one of our own buffers.
2011-07-11 13:51:52 +02:00
Wim Taymans
851f550003 v4l2: various cleanups
Various cleanups, avoids useless casts, move error handling outside of the main
code flow.
Negotiate to a resonable resolution instead of the max resolution.
2011-07-11 12:15:12 +02:00
Mark Nauwelaerts
eb82a50bd1 rtp: port remaining to 0.11 2011-07-10 21:50:19 +02:00
Wim Taymans
9e276e4f81 ximage: port to 0.11 2011-07-10 14:56:00 +02:00
Wim Taymans
bee50961e4 y4m: port some more
Use video helpers.
2011-07-10 13:48:54 +02:00
Wim Taymans
924012111f y4m: port to 0.11 2011-07-10 13:28:27 +02:00
Wim Taymans
8926a8f753 multipart: port to 0.11 2011-07-10 12:46:03 +02:00
Wim Taymans
caf1760694 Merge branch 'master' into 0.11 2011-07-10 11:42:37 +02:00
Wim Taymans
1c4ec02be9 debug: port to 0.11, disable others
Diasable the efence and capsdebug elements, port them later.
2011-07-10 11:40:40 +02:00
David Schleef
abb646dcd1 multifilesrc: Improve looping
Add start-index and stop-index properties.
2011-07-09 19:23:41 -07:00
Jonny Lamb
9149ce8d9d multifile: add loop property to multifilesrc
Fixes: #652727

Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com>
Signed-off-by: David Schleef <ds@schleef.org>
2011-07-09 18:58:52 -07:00
Philip Jägenstedt
fbe726c3da directsoundsink: 16-bit audio is signed, 8-bit is unsigned.
Pretending to handle 8-bit signed causes distorted audio when
actually given such audio, which you will get if passing 8-bit
unsigned through audioconvert ! audioresample, as audioresample
only handles 8-bit signed.  Fixes #605834.

Signed-off-by: David Schleef <ds@schleef.org>
2011-07-09 16:45:51 -07:00
Wim Taymans
3b4afcb8df v4l2: fix gray format, use filter in getcaps 2011-07-08 16:37:11 +02:00
Wim Taymans
7a296af37f v4l2: port and enable v4l2sink 2011-07-08 16:10:47 +02:00
Wim Taymans
b8640c8cd9 v4l2src: port to new video formats 2011-07-08 14:34:40 +02:00
Wim Taymans
734ec56617 Merge branch 'master' into 0.11 2011-07-08 12:51:14 +02:00
Wim Taymans
e20d6f0bb5 v4l2: port to 0.11 2011-07-08 12:49:12 +02:00
Alexey Fisher
a2e0bda3b5 matroskademux: handle blocks with duration=0
Some video frames, for example alt-ref frame in VP8, will be
never displayed. This is why it has duration=0.

This patch allow to use this duration.

Bug: 654175
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-07-08 09:58:29 +02:00
David Schleef
4dcc9ee42a qtmux: Add direct dirac mapping 2011-07-07 11:27:52 -07:00
Wim Taymans
a3a253af15 effectv: port last effectv element to 0.11 2011-07-07 17:59:04 +02:00
Wim Taymans
69e2de76de effectv: port streaktv to 0.11 2011-07-07 17:49:34 +02:00
Wim Taymans
b8c426564f effectv: port radioactv to 0.11 2011-07-07 17:40:22 +02:00
Wim Taymans
99c45328b7 effectv: fix docs 2011-07-07 17:29:58 +02:00
Wim Taymans
7e3e4a90d4 effectv: port op to 0.11 2011-07-07 17:29:44 +02:00
Wim Taymans
63e05a0cc4 effectv: port quark tv 2011-07-07 17:18:21 +02:00
Wim Taymans
ec7b96010f effectv: port revtv to 0.11 2011-07-07 16:57:39 +02:00
Wim Taymans
577f689f7e effectv: port vertigotv to 0.11 2011-07-07 16:46:51 +02:00
Wim Taymans
39f689dc97 effectv: port shagadelictv to 0.11 2011-07-07 16:38:10 +02:00
Mark Nauwelaerts
6aea70a8a1 auparse: use ALWAYS src pad rather than SOMETIMES 2011-07-07 11:22:26 +02:00
Mark Nauwelaerts
6ebb23d2a0 auparse: port to 0.11 2011-07-07 11:14:16 +02:00
Wim Taymans
01fe86d53c shapewipe: beginnings of porting 2011-07-06 19:03:52 +02:00
Wim Taymans
be50d18a57 warptv: port to 0.11 2011-07-06 18:50:26 +02:00
Wim Taymans
a462c14b9d dice: keep track of info 2011-07-06 18:50:15 +02:00
Wim Taymans
a1b4b089ec effectv: port dice 2011-07-06 18:32:45 +02:00
Wim Taymans
50b0751799 effectv: port agingtv 2011-07-06 18:09:49 +02:00
Wim Taymans
da28ebfbe3 aasink: port to new video API 2011-07-06 17:50:54 +02:00
Wim Taymans
1a0a6f54bb cacasink: port to 0.11 2011-07-06 17:40:20 +02:00
Wim Taymans
f70da0a542 jpeg: beginnings of porting to 0.11 2011-07-06 16:51:36 +02:00
Mark Nauwelaerts
a6d9995705 wavparse: use ALWAYS source pad rather than SOMETIMES 2011-07-06 16:32:13 +02:00
Mark Nauwelaerts
e9146e7aec wavparse: port to 0.11 2011-07-06 16:32:13 +02:00
Mark Nauwelaerts
9cf287ebcc wavenc: port to 0.11 2011-07-06 16:32:11 +02:00
Mark Nauwelaerts
88f107b30b qtdemux: adjust to unsigned segment fields 2011-07-06 16:32:11 +02:00
Wim Taymans
fdf5a49422 speex: port speex elements 2011-07-06 15:57:23 +02:00
Wim Taymans
3fd1106b7e Merge branch 'master' into 0.11 2011-07-06 12:05:12 +02:00
Mark Nauwelaerts
ef02634dc6 rtpmanager: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer and corresponding rtp and rtcp buffer interfaces
* misc caps and segment handling changes

FIXME: also relies on being able to pass caps along with a buffer,
which has no evident equivalent yet, so that either needs one,
or still needs quite some code path modification to drag along caps.
2011-07-06 10:16:12 +02:00
René Stadler
ae87731de5 pulsesink: prevent race condition causing ref leak
Since commit 8bfd80, gst_pulseringbuffer_stop doesn't wait for the
deferred call to be run before returning. This causes a race when
READY->NULL is executed shortly after, which stops the mainloop. This
leaks the element reference which is passed as userdata for the callback
(introduced in commit 7cf996, bug #614765).

The correct fix is to wait in READY->NULL for all outstanding calls to
be fired (since libpulse doesn't provide a DestroyNotify for the
userdata). We get rid of the reference passing from 7cf996 altogether,
since finalization from the callback would anyways lead to a deadlock.

Re-fixes bug #614765.
2011-07-05 16:36:17 +02:00
René Stadler
f8456e2a1a pulsesink: small cleanup of copy-paste code 2011-07-05 16:36:17 +02:00
René Stadler
3589cee762 pulsesink: remove unused member variable and misleading log message
Wim changed it in commit 8bfd80 so that pa_defer_ran is not read
anywhere.

The log message used to annotate a mainloop_wait call which is gone.
2011-07-05 16:36:17 +02:00
Wim Taymans
794320a202 videoflip: fix caps 2011-07-05 15:37:52 +02:00
Wim Taymans
301e3e32ff effectv: port edgetv 2011-07-05 11:46:16 +02:00