Wim Taymans [Wed, 13 Jul 2011 09:36:54 +0000 (11:36 +0200)]
v4l2: handle EINVAL without posting a warning
EINVAL means that a call is not supported, we only want to post a WARNING when
something is really wrong.
Wim Taymans [Wed, 13 Jul 2011 09:29:26 +0000 (11:29 +0200)]
v4l2: only set framerate for capture for now
Wim Taymans [Wed, 13 Jul 2011 09:19:28 +0000 (11:19 +0200)]
v4l2: Move configuration of framerate to _set_format
Move the configuration of the framerate to where we set the other format
parameters.
Remove hack to check if the device is active.
Store streamparm in the device info.
Use some macros to access the current device configuration.
Remove some duplicate fields in src and sink and use the device configuration
instead.
Wim Taymans [Tue, 12 Jul 2011 17:13:45 +0000 (19:13 +0200)]
v4l2: fix return value...
Wim Taymans [Tue, 12 Jul 2011 18:03:32 +0000 (19:03 +0100)]
v4l2: simplify setting the capture format
Pass the caps to the set_format function and make _set_format parse the caps.
Also keep the parsed values in the v4l2object so that we can refer to them when
we want.
Wim Taymans [Tue, 12 Jul 2011 17:41:47 +0000 (18:41 +0100)]
v4l2: remove more unused parameters
Wim Taymans [Tue, 12 Jul 2011 17:29:35 +0000 (18:29 +0100)]
v4l: handle object out of the normal flow
Wim Taymans [Tue, 12 Jul 2011 16:13:42 +0000 (18:13 +0200)]
v4l2: Let the bufferpool own the V4l2Object
Keep track of the currently configured format and setting in the
v4l2object.
Pass the v4l2object to the bufferpool constructor so that the bufferpool can
know everything about the currently configured settings. This also allows us
to remove some awkward code.
Wim Taymans [Tue, 12 Jul 2011 15:06:41 +0000 (17:06 +0200)]
v4l: remove caps argument, it's not needed
Remove the caps parameter, we don't need it anymore because we don't set
caps on buffers anymore.
Wim Taymans [Tue, 12 Jul 2011 15:46:21 +0000 (16:46 +0100)]
v4l: pass the bytesperline around
When setting a format, return the bytesperline to the caller so that it can be
used to allocate buffers.
Wim Taymans [Tue, 12 Jul 2011 15:43:04 +0000 (16:43 +0100)]
pool: make buffer writable
We need writable buffers when we need to do a slow memcpy.
Wim Taymans [Mon, 11 Jul 2011 11:51:52 +0000 (13:51 +0200)]
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.
Wim Taymans [Mon, 11 Jul 2011 10:04:57 +0000 (12:04 +0200)]
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.
Mark Nauwelaerts [Sun, 10 Jul 2011 19:50:19 +0000 (21:50 +0200)]
rtp: port remaining to 0.11
Wim Taymans [Sun, 10 Jul 2011 12:56:00 +0000 (14:56 +0200)]
ximage: port to 0.11
Wim Taymans [Sun, 10 Jul 2011 11:44:49 +0000 (13:44 +0200)]
y4m: port some more
Use video helpers.
Wim Taymans [Sun, 10 Jul 2011 11:28:27 +0000 (13:28 +0200)]
y4m: port to 0.11
Wim Taymans [Sun, 10 Jul 2011 10:46:03 +0000 (12:46 +0200)]
multipart: port to 0.11
Wim Taymans [Sun, 10 Jul 2011 09:42:37 +0000 (11:42 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Sun, 10 Jul 2011 09:40:40 +0000 (11:40 +0200)]
debug: port to 0.11, disable others
Diasable the efence and capsdebug elements, port them later.
David Schleef [Sun, 10 Jul 2011 02:23:41 +0000 (19:23 -0700)]
multifilesrc: Improve looping
Add start-index and stop-index properties.
Jonny Lamb [Thu, 16 Jun 2011 12:57:03 +0000 (13:57 +0100)]
multifile: add loop property to multifilesrc
Fixes: #652727
Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com>
Signed-off-by: David Schleef <ds@schleef.org>
Philip Jägenstedt [Fri, 20 Nov 2009 09:07:43 +0000 (10:07 +0100)]
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>
Wim Taymans [Fri, 8 Jul 2011 14:37:11 +0000 (16:37 +0200)]
v4l2: fix gray format, use filter in getcaps
Wim Taymans [Fri, 8 Jul 2011 14:10:47 +0000 (16:10 +0200)]
v4l2: port and enable v4l2sink
Wim Taymans [Fri, 8 Jul 2011 12:34:40 +0000 (14:34 +0200)]
v4l2src: port to new video formats
Wim Taymans [Fri, 8 Jul 2011 10:51:14 +0000 (12:51 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Fri, 8 Jul 2011 10:49:12 +0000 (12:49 +0200)]
v4l2: port to 0.11
Alexey Fisher [Thu, 7 Jul 2011 16:27:36 +0000 (18:27 +0200)]
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>
David Schleef [Thu, 7 Jul 2011 00:18:05 +0000 (17:18 -0700)]
qtmux: Add direct dirac mapping
Wim Taymans [Thu, 7 Jul 2011 15:59:04 +0000 (17:59 +0200)]
effectv: port last effectv element to 0.11
Wim Taymans [Thu, 7 Jul 2011 15:49:34 +0000 (17:49 +0200)]
effectv: port streaktv to 0.11
Wim Taymans [Thu, 7 Jul 2011 15:40:22 +0000 (17:40 +0200)]
effectv: port radioactv to 0.11
Wim Taymans [Thu, 7 Jul 2011 15:29:58 +0000 (17:29 +0200)]
effectv: fix docs
Wim Taymans [Thu, 7 Jul 2011 15:29:44 +0000 (17:29 +0200)]
effectv: port op to 0.11
Wim Taymans [Thu, 7 Jul 2011 15:18:21 +0000 (17:18 +0200)]
effectv: port quark tv
Wim Taymans [Thu, 7 Jul 2011 14:57:39 +0000 (16:57 +0200)]
effectv: port revtv to 0.11
Wim Taymans [Thu, 7 Jul 2011 14:46:51 +0000 (16:46 +0200)]
effectv: port vertigotv to 0.11
Wim Taymans [Thu, 7 Jul 2011 14:38:10 +0000 (16:38 +0200)]
effectv: port shagadelictv to 0.11
Mark Nauwelaerts [Thu, 7 Jul 2011 09:22:26 +0000 (11:22 +0200)]
auparse: use ALWAYS src pad rather than SOMETIMES
Mark Nauwelaerts [Thu, 7 Jul 2011 09:14:16 +0000 (11:14 +0200)]
auparse: port to 0.11
Wim Taymans [Wed, 6 Jul 2011 17:03:52 +0000 (19:03 +0200)]
shapewipe: beginnings of porting
Wim Taymans [Wed, 6 Jul 2011 16:50:26 +0000 (18:50 +0200)]
warptv: port to 0.11
Wim Taymans [Wed, 6 Jul 2011 16:50:15 +0000 (18:50 +0200)]
dice: keep track of info
Wim Taymans [Wed, 6 Jul 2011 16:32:45 +0000 (18:32 +0200)]
effectv: port dice
Wim Taymans [Wed, 6 Jul 2011 16:09:49 +0000 (18:09 +0200)]
effectv: port agingtv
Wim Taymans [Wed, 6 Jul 2011 15:50:54 +0000 (17:50 +0200)]
aasink: port to new video API
Wim Taymans [Wed, 6 Jul 2011 15:40:20 +0000 (17:40 +0200)]
cacasink: port to 0.11
Wim Taymans [Wed, 6 Jul 2011 14:50:32 +0000 (16:50 +0200)]
jpeg: beginnings of porting to 0.11
Mark Nauwelaerts [Wed, 6 Jul 2011 14:31:18 +0000 (16:31 +0200)]
wavparse: use ALWAYS source pad rather than SOMETIMES
Mark Nauwelaerts [Wed, 6 Jul 2011 14:10:34 +0000 (16:10 +0200)]
wavparse: port to 0.11
Mark Nauwelaerts [Wed, 6 Jul 2011 14:10:23 +0000 (16:10 +0200)]
wavenc: port to 0.11
Mark Nauwelaerts [Wed, 6 Jul 2011 10:22:43 +0000 (12:22 +0200)]
qtdemux: adjust to unsigned segment fields
Wim Taymans [Wed, 6 Jul 2011 13:57:23 +0000 (15:57 +0200)]
speex: port speex elements
Wim Taymans [Wed, 6 Jul 2011 10:05:12 +0000 (12:05 +0200)]
Merge branch 'master' into 0.11
Mark Nauwelaerts [Wed, 6 Jul 2011 08:11:52 +0000 (10:11 +0200)]
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.
René Stadler [Wed, 29 Jun 2011 17:59:26 +0000 (20:59 +0300)]
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.
René Stadler [Mon, 4 Jul 2011 05:58:14 +0000 (08:58 +0300)]
pulsesink: small cleanup of copy-paste code
René Stadler [Wed, 29 Jun 2011 16:50:42 +0000 (19:50 +0300)]
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.
Wim Taymans [Tue, 5 Jul 2011 13:37:52 +0000 (15:37 +0200)]
videoflip: fix caps
Wim Taymans [Tue, 5 Jul 2011 09:40:56 +0000 (11:40 +0200)]
effectv: port edgetv
Tim-Philipp Müller [Tue, 5 Jul 2011 09:12:25 +0000 (10:12 +0100)]
Add -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings
David Schleef [Mon, 4 Jul 2011 19:58:38 +0000 (12:58 -0700)]
goom: Don't answer lantency queries before negotiation
Wim Taymans [Mon, 4 Jul 2011 16:15:42 +0000 (18:15 +0200)]
udp: port to new API
Wim Taymans [Mon, 4 Jul 2011 16:12:56 +0000 (18:12 +0200)]
pulse: remove implementsinterface
Wim Taymans [Mon, 4 Jul 2011 16:10:55 +0000 (18:10 +0200)]
alpha: fix caps
Wim Taymans [Mon, 4 Jul 2011 16:06:48 +0000 (18:06 +0200)]
alpha: port to new video API
Wim Taymans [Mon, 4 Jul 2011 15:00:34 +0000 (17:00 +0200)]
alpha: more porting
Wim Taymans [Mon, 4 Jul 2011 14:09:33 +0000 (16:09 +0200)]
port to new video api
Wim Taymans [Tue, 28 Jun 2011 12:03:43 +0000 (14:03 +0200)]
video: port to new video apis
Mark Nauwelaerts [Mon, 4 Jul 2011 12:30:09 +0000 (14:30 +0200)]
jpegdec: avoid crashing on invalid input without components
Mark Nauwelaerts [Mon, 4 Jul 2011 09:09:19 +0000 (11:09 +0200)]
flv: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer
* misc segment and caps changes
Mark Nauwelaerts [Mon, 4 Jul 2011 09:48:13 +0000 (11:48 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/pulse/pulsesink.c
Mark Nauwelaerts [Mon, 4 Jul 2011 09:25:28 +0000 (11:25 +0200)]
flvmux: pass along segment info to collectpads
... so it can track this and be subsequently used to determine running time etc.
Mark Nauwelaerts [Mon, 4 Jul 2011 09:24:23 +0000 (11:24 +0200)]
flvdemux: indicate raw format in aac caps
Mark Nauwelaerts [Mon, 4 Jul 2011 09:07:13 +0000 (11:07 +0200)]
qtmux: mind requested name for request pad
Mark Nauwelaerts [Mon, 4 Jul 2011 09:06:54 +0000 (11:06 +0200)]
avidemux: free scheduling query
David Schleef [Mon, 4 Jul 2011 02:51:32 +0000 (19:51 -0700)]
pulse: Increase ranks to PRIMARY + 10
So that pulsesrc/pulsesink get chosen over other possible PRIMARY
src/sinks by autoaudiosink. Presumably, if pulse is available, it
is always preferred over another src/sink.
Fixes: #647540.
David Schleef [Fri, 1 Jul 2011 01:47:48 +0000 (18:47 -0700)]
multipartmux: Add \r\n to tail of pushed buffers
Clients such as Firefox require the \r\n after the payload.
Branko Subasic [Thu, 16 Jun 2011 12:52:51 +0000 (14:52 +0200)]
matroskademux: avoid looping when searching for clusters
Fixes some bugs that results in the demuxer looping when seaching
for clusters in non-finalized files.
https://bugzilla.gnome.org/show_bug.cgi?id=652195
Mark Nauwelaerts [Thu, 30 Jun 2011 10:30:22 +0000 (12:30 +0200)]
multifile: port to 0.10
* use G_DEFINE_TYPE
* adjust to new GstBuffer
* misc caps handling
Mark Nauwelaerts [Thu, 30 Jun 2011 09:35:21 +0000 (11:35 +0200)]
cutter: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer
* minor misc
Mark Nauwelaerts [Thu, 30 Jun 2011 09:17:19 +0000 (11:17 +0200)]
replaygain: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer
Mark Nauwelaerts [Thu, 30 Jun 2011 08:53:09 +0000 (10:53 +0200)]
spectrum: remove deprecated property
Mark Nauwelaerts [Thu, 30 Jun 2011 08:51:55 +0000 (10:51 +0200)]
spectrum: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer
Mark Nauwelaerts [Thu, 30 Jun 2011 08:38:49 +0000 (10:38 +0200)]
level: port to 0.11
* use G_DEFINE_TYPE
* adjust to new GstBuffer
Mark Nauwelaerts [Thu, 30 Jun 2011 08:30:16 +0000 (10:30 +0200)]
equalizer: port to 0.11
Debarshi Ray [Fri, 10 Jun 2011 13:24:48 +0000 (18:54 +0530)]
matroskaparse: fix reference counting of parse->streamheader
https://bugzilla.gnome.org/show_bug.cgi?id=652286
Signed-off-by: David Schleef <ds@schleef.org>
David Schleef [Wed, 29 Jun 2011 21:39:52 +0000 (14:39 -0700)]
jpegenc: Don't round up size of encoded buffers
For some reason, in code dating to 2001, encoded jpeg buffers were
rounded up to multiples of 4 bytes. With the added bonus that the
extra bytes are unwritten, causing valgrind issues. Oops. I can't
think of any reason why JPEG buffers need to be multiples of 4 bytes,
so I removed the padding. There might be some code somewhere that
depends on this behavior, so if this needs to be reverted, please fix
the valgrind issues.
Mark Nauwelaerts [Wed, 29 Jun 2011 10:46:20 +0000 (12:46 +0200)]
isomp4: port to 0.11
Mark Nauwelaerts [Tue, 28 Jun 2011 10:55:45 +0000 (12:55 +0200)]
avidemux: tweak some ported segment handling
... to avoid losing duration during push mode seeking, and to properly
accumulate running time when segment seeking.
Mark Nauwelaerts [Wed, 29 Jun 2011 10:05:04 +0000 (12:05 +0200)]
qtmux: free date tag
Jonas Larsson [Tue, 28 Jun 2011 10:26:37 +0000 (12:26 +0200)]
aacparse: not so greedy minimum frame size
Fixes #653559.
David Schleef [Sat, 25 Jun 2011 18:39:23 +0000 (11:39 -0700)]
configure: remove non-pkg-config check for shout
Fixes: 653327
Andoni Morales Alastruey [Mon, 20 Jun 2011 16:49:57 +0000 (18:49 +0200)]
dv1394src: make the internal clock thread safe
Fixes: #653091.
Miguel Angel Cabrera Moya [Fri, 24 Jun 2011 09:54:29 +0000 (11:54 +0200)]
rtpjitterbuffer: return correct type when assertion fails
David Schleef [Thu, 23 Jun 2011 18:28:27 +0000 (11:28 -0700)]
Automatic update of common submodule
From 69b981f to 605cd9a
Wim Taymans [Wed, 22 Jun 2011 14:41:13 +0000 (16:41 +0200)]
rtsp: fix for uri changes
Arun Raghavan [Wed, 2 Feb 2011 10:48:54 +0000 (16:18 +0530)]
pulse: Drop support for PA versions before 0.9.16
This drops support fof PulseAudio versions prior to 0.9.16, which was
released about 1.5 years ago. Testing with very old versions is not
feasible and we don't want to maintain 2 independent code-paths.
Wim Taymans [Tue, 21 Jun 2011 16:24:41 +0000 (18:24 +0200)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
docs/plugins/inspect/plugin-esdsink.xml
docs/plugins/inspect/plugin-gconfelements.xml