Sebastian Dröge [Wed, 16 Jun 2010 17:20:02 +0000 (19:20 +0200)]
warptv: Don't use floats as loop counters
Havoc Pennington [Wed, 16 Jun 2010 15:21:35 +0000 (11:21 -0400)]
v4l2src: do not try to change device format if it's already correct
This allows set_caps to succeed if caps change in a way that
would not modify the format we're getting from the hardware.
Otherwise if not in NULL state, setting caps would fail
with EBUSY.
With this change, in some cases it's OK to go PLAYING->READY->PLAYING
rather than PLAYING->NULL->PLAYING to avoid a time-consuming close
and reopen of the device.
Fixes #621723
Havoc Pennington [Wed, 16 Jun 2010 15:09:17 +0000 (11:09 -0400)]
v4l2src: in negotiate, check for error return from set_caps
Fixes #621723 (partially)
set_caps can fail if the video device is running, in that case
setting its format leads to EBUSY.
If set_caps fails then we will not have set up the buffer pool
(it will be NULL) which leads to a crash when we try to pull
buffers. If we fail the negotiate on set_caps failure, then we
won't go to playing state and won't crash.
This is a small improvement. Of course, a nicer fix would
be to make set_caps work in the case where the format is
unchanged. If the format has changed, failing is
probably correct because we need to close the device
(go to NULL state) in order to set caps.
Mark Nauwelaerts [Wed, 16 Jun 2010 13:40:34 +0000 (15:40 +0200)]
avidemux: improve audio vbr detection
Subsequent entry time calculations use blockalign value to determine
number of frames per chunk, and blockalign == 1 is then most unlikely to result
in reasonable values (which also aligns with "spec").
Mark Nauwelaerts [Wed, 16 Jun 2010 13:52:57 +0000 (15:52 +0200)]
rtph264depay: tweak DELTA_UNIT labeling
Consider SPS, PPS and IDR as keyframe, all others as DELTA_UNIT.
See #620154.
Sebastian Dröge [Tue, 15 Jun 2010 18:06:17 +0000 (20:06 +0200)]
wavpackdec: Initialize uninitialized variable and don't unref it if it's NULL
Sebastian Dröge [Tue, 15 Jun 2010 18:04:35 +0000 (20:04 +0200)]
avidemux: Assign variables before printing them
Sebastian Dröge [Tue, 15 Jun 2010 18:00:28 +0000 (20:00 +0200)]
wavparse: Initialize uninitialized variable
Sebastian Dröge [Tue, 15 Jun 2010 17:47:16 +0000 (19:47 +0200)]
v4l2: Initialize variable
Sebastian Dröge [Tue, 15 Jun 2010 17:45:36 +0000 (19:45 +0200)]
flacenc: Fix NEWSEGMENT parsing logic and don't use uninitialized variables
Edward Hervey [Tue, 15 Jun 2010 15:20:20 +0000 (17:20 +0200)]
matroska: Fix unitialized variable
Edward Hervey [Tue, 15 Jun 2010 14:49:49 +0000 (16:49 +0200)]
Automatic update of common submodule
From 9339ccc to 35617c2
Stefan Kost [Tue, 15 Jun 2010 13:54:04 +0000 (16:54 +0300)]
Automatic update of common submodule
From 5adb1ca to 9339ccc
Stefan Kost [Tue, 15 Jun 2010 13:35:18 +0000 (16:35 +0300)]
Automatic update of common submodule
From 57c89b7 to 5adb1ca
Tim-Philipp Müller [Tue, 15 Jun 2010 13:08:26 +0000 (14:08 +0100)]
.gitignore: ignore generated tvtime.h file
Stefan Kost [Tue, 15 Jun 2010 12:36:33 +0000 (15:36 +0300)]
Automatic update of common submodule
From c804988 to 57c89b7
Marc-André Lureau [Mon, 17 May 2010 11:54:03 +0000 (13:54 +0200)]
raw1394: remove useless last_time
It seems to me this code is useless: removing it.
https://bugzilla.gnome.org/show_bug.cgi?id=618871
Wim Taymans [Mon, 14 Jun 2010 17:21:22 +0000 (19:21 +0200)]
rtspsrc: respect aggregate control attributes
when the SDP specifies an aggregate control url, use that for playback
control.
Fixes #619531
Sebastian Dröge [Mon, 14 Jun 2010 13:36:00 +0000 (15:36 +0200)]
goom: Call orc_init() before trying to get target flags
Sebastian Dröge [Mon, 14 Jun 2010 13:35:08 +0000 (15:35 +0200)]
deinterlace: Call orc_init() before trying to get target flags
Zaheer Abbas Merali [Mon, 14 Jun 2010 13:26:22 +0000 (14:26 +0100)]
matroskamux: revert change that set a reserved flag on the Block.
So matroska's Block structure has no keyframe flag, only the SimpleBlock has it.
To detect keyframes in Blocks, it is just the BlockGroup container that needs
to have a ReferenceBlock attached if it is a delta frame in video.
Mark Nauwelaerts [Mon, 31 May 2010 10:45:01 +0000 (12:45 +0200)]
jpegdec: use libjpeg scatter-gather operation to avoid data copying
Fixes #583047 (more).
Mark Nauwelaerts [Thu, 27 May 2010 13:45:23 +0000 (15:45 +0200)]
jpegdec: optimize buffer handling when parsing
Use an adapter to collect incoming data, and use adapter API to scan and peek.
Fixes #583047.
Sebastian Dröge [Mon, 14 Jun 2010 11:48:28 +0000 (13:48 +0200)]
oss4: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp()
Sebastian Dröge [Mon, 14 Jun 2010 11:27:30 +0000 (13:27 +0200)]
configure: Use GLIB_EXTRA_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 11:03:57 +0000 (13:03 +0200)]
Automatic update of common submodule
From 7a0fdf5 to c804988
Mark Nauwelaerts [Mon, 14 Jun 2010 09:46:32 +0000 (11:46 +0200)]
rtph264depay: also consider AU and SEI NALUs as DELTA_UNIT
Fixes #620154.
Sebastian Dröge [Mon, 14 Jun 2010 09:32:43 +0000 (11:32 +0200)]
Automatic update of common submodule
From 6da3bab to 7a0fdf5
Stefan Kost [Sat, 12 Jun 2010 18:26:16 +0000 (21:26 +0300)]
build: include stdio.h for sscanf
Sebastian Dröge [Sat, 12 Jun 2010 12:12:50 +0000 (14:12 +0200)]
tests: Add clean rule for the orc tests
Sebastian Dröge [Sat, 12 Jun 2010 12:12:04 +0000 (14:12 +0200)]
tests: Add autogenerated orc tests
Sebastian Dröge [Sat, 12 Jun 2010 06:27:42 +0000 (08:27 +0200)]
Automatic update of common submodule
From 733fca9 to 6da3bab
David Schleef [Fri, 11 Jun 2010 23:23:29 +0000 (16:23 -0700)]
v4l2src: Fix element description
Tim-Philipp Müller [Fri, 11 Jun 2010 20:13:59 +0000 (21:13 +0100)]
rtpmparobustdepay: don't try to unref NULL buffers
Fixes generic/states unit test.
Tim-Philipp Müller [Fri, 11 Jun 2010 19:50:23 +0000 (20:50 +0100)]
wavparse: use typefind functions to check if PCM data contains dts stream
Use new dts audio typefinder from -base to check if the PCM data
contains a dts stream. This way we recognise more varieties more
reliably and also detect the dts stream if there isn't a frame
sync right at the start of the data.
Fixes #413942.
Tim-Philipp Müller [Fri, 11 Jun 2010 19:47:22 +0000 (20:47 +0100)]
wavparse: set buffer offsets before using the buffer for the first time
gst_type_find_helper_for_buffer() will need the correct offset
set on the buffer (ie. 0) and not the byte offset we started
pulling the data from.
Mark Nauwelaerts [Thu, 10 Jun 2010 14:14:43 +0000 (16:14 +0200)]
rtp: add mpa-robust depayloader
Fixes #589997.
Mark Nauwelaerts [Fri, 11 Jun 2010 08:57:41 +0000 (10:57 +0200)]
avimux: fix avi header bytewriting
... by using proper offsets for tag list writing.
Also use _reset rather than _free and consistently use bytewriter position.
See #619293.
Sebastian Dröge [Thu, 10 Jun 2010 20:58:41 +0000 (22:58 +0200)]
Update .gitignore
Add the generated orc source files
Sebastian Dröge [Thu, 10 Jun 2010 20:55:17 +0000 (22:55 +0200)]
matroskamux: Fix unit test for changed key-frame behaviour
All audio frames are marked as keyframe now instead of marking
them all as delta unit...
Sebastian Dröge [Thu, 10 Jun 2010 20:45:13 +0000 (22:45 +0200)]
videomixer: Port most blending related functions to orc
Only remaining MMX implementation is the ARGB/BGRA/AYUV blending
for which we first need the orc compositing opcodes.
Sebastian Dröge [Thu, 10 Jun 2010 18:17:07 +0000 (20:17 +0200)]
videomixer: Replace some tabs by spaces
Andoni Morales Alastruey [Thu, 10 Jun 2010 10:04:38 +0000 (11:04 +0100)]
dv1394: Fix the internal clock even more
The cycleCount register is 13 bits long and the cycleOffset one
is 12 bits long. To read the cycleCount register we need to shift
12 bits and not 13. Fixes #615461
David Schleef [Thu, 10 Jun 2010 01:37:29 +0000 (18:37 -0700)]
configure: use m4 macro to check for Orc
Zaheer Abbas Merali [Wed, 9 Jun 2010 20:40:23 +0000 (22:40 +0200)]
matroskamux: some non-delta buffers were not marked as keyframes
Zaheer Abbas Merali [Wed, 9 Jun 2010 20:00:16 +0000 (22:00 +0200)]
matroskamux: change 2 second limit per cluster
Start cluster at every keyframe or when we would overflow the previous
cluster's relative timestamp field. This would avoid as much as possible
starting clusters at non-keyframes.
David Schleef [Wed, 9 Jun 2010 19:40:09 +0000 (12:40 -0700)]
Automatic update of common submodule
From fad145b to 733fca9
David Schleef [Wed, 9 Jun 2010 19:34:01 +0000 (12:34 -0700)]
Automatic update of common submodule
From 47683c1 to fad145b
Sebastian Dröge [Wed, 9 Jun 2010 18:53:06 +0000 (20:53 +0200)]
pulsesink: Don't request more shared memory than needed
Sebastian Dröge [Wed, 9 Jun 2010 18:45:04 +0000 (20:45 +0200)]
switchsink: Set the GST_ELEMENT_IS_SINK flag on the sink
Sebastian Dröge [Wed, 9 Jun 2010 18:43:50 +0000 (20:43 +0200)]
gconfvideosink: Use GstSwitchSink as base class
Sebastian Dröge [Wed, 9 Jun 2010 18:30:31 +0000 (20:30 +0200)]
gconfaudiosink: Use G_PARAM_STATIC_STRINGS
Sebastian Dröge [Wed, 9 Jun 2010 18:29:02 +0000 (20:29 +0200)]
gconfaudiosink: Rename instance variable to be more descriptive
Sebastian Dröge [Wed, 9 Jun 2010 18:22:30 +0000 (20:22 +0200)]
auto{audio,video}sink: Don't lose the GST_ELEMENT_IS_SINK flag after removing the child
Julien Moutte [Wed, 9 Jun 2010 18:07:09 +0000 (20:07 +0200)]
directsoundsink: Plug some memleak and support 22050Hz mono sound.
Segment size needs to be a multiple of the sample size in bytes.
Sebastian Dröge [Wed, 9 Jun 2010 14:22:27 +0000 (16:22 +0200)]
pulsesink: Flush shm buffer immediately if it's full
Sebastian Dröge [Wed, 9 Jun 2010 14:21:55 +0000 (16:21 +0200)]
pulsesink: Fix writing of buffers larger than segsize
Fixes bug #620540.
Sebastian Dröge [Wed, 9 Jun 2010 13:42:37 +0000 (15:42 +0200)]
pulsesink: Fix playback if PA doesn't give us a large enough shared memory buffer
Zaheer Abbas Merali [Wed, 9 Jun 2010 13:42:19 +0000 (15:42 +0200)]
matroskamux: change indexed property to streamable
The property streamable has reverse semantics to indexed.
Thiago Santos [Wed, 9 Jun 2010 12:13:09 +0000 (09:13 -0300)]
flvmux: Rename unreleased property 'indexed' to 'streamable'
Rename 'indexed' to 'streamable' for a better name while it
hasn't been released
David Schleef [Tue, 8 Jun 2010 22:23:51 +0000 (15:23 -0700)]
configure: remove liboil check
David Schleef [Tue, 8 Jun 2010 21:44:19 +0000 (14:44 -0700)]
level: remove unused liboil include
David Schleef [Sat, 5 Jun 2010 01:22:42 +0000 (18:22 -0700)]
videomixer: liboil to orc conversion
David Schleef [Sat, 5 Jun 2010 01:21:21 +0000 (18:21 -0700)]
videobox: liboil to orc conversion
David Schleef [Sat, 5 Jun 2010 01:16:25 +0000 (18:16 -0700)]
goom: liboil to orc conversion
David Schleef [Tue, 8 Jun 2010 23:04:23 +0000 (16:04 -0700)]
deinterlace: orcify some deinterlacing methods
David Schleef [Tue, 8 Jun 2010 23:03:36 +0000 (16:03 -0700)]
deinterlace: convert from liboil to orc
David Schleef [Tue, 8 Jun 2010 22:23:28 +0000 (15:23 -0700)]
configure: Add orc check
Zaheer Abbas Merali [Tue, 8 Jun 2010 12:09:00 +0000 (14:09 +0200)]
flvmux: Add indexed property to replace disabled is-live.
Add indexed property to be the negation of what the disabled is-live property
was. Fixes bug #613066.
Sebastian Dröge [Tue, 8 Jun 2010 07:22:30 +0000 (09:22 +0200)]
raw1394: Require libraw1394 >= 2.0.0 for raw1394_read_cycle_timer
Fixes bug #620929.
Sebastian Dröge [Tue, 8 Jun 2010 05:35:00 +0000 (07:35 +0200)]
cmmlenc: Remove hack to let oggmux start a new page for every CMML buffer
oggmux does this for CMML by its own now
Sebastian Dröge [Mon, 7 Jun 2010 16:32:16 +0000 (18:32 +0200)]
flvdemux: Don't handle non-TIME seeks
Don't send them upstream because for upstream a BYTES seek
might make sense but is completely wrong because upstream
can't seek to a byte position of the audio or video stream.
Also don't build the index in push mode for non-TIME seeks,
things will go wrong here otherwise.
Sjoerd Simons [Wed, 2 Jun 2010 18:16:20 +0000 (19:16 +0100)]
Cope with short startcodes in the h264 bytestream
Tim-Philipp Müller [Sun, 6 Jun 2010 16:25:16 +0000 (17:25 +0100)]
pulse: log message printf format fixes
Sebastian Dröge [Sun, 6 Jun 2010 16:00:22 +0000 (18:00 +0200)]
ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
Sebastian Dröge [Sun, 6 Jun 2010 15:57:03 +0000 (17:57 +0200)]
sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
Sebastian Dröge [Sun, 6 Jun 2010 15:52:40 +0000 (17:52 +0200)]
gst: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
Philip Jägenstedt [Sun, 6 Jun 2010 13:12:16 +0000 (15:12 +0200)]
matroskademux: refactor delta unit handling
This allows us to skip delta units earlier and is a bit clearer in my
opinion. It also makes only video buffers ever be delta units, not
just for SimpleBlock as before.
Sebastian Dröge [Sun, 6 Jun 2010 13:17:00 +0000 (15:17 +0200)]
flvdemux: Clear adapter on discontinuities
Philip Jägenstedt [Sun, 6 Jun 2010 12:03:53 +0000 (14:03 +0200)]
matroskademux: Ignore keyframe flag for non-video streams
When the keyframe bit of SimpleBlock Flags wasn't set, the buffer was being
marked with GST_BUFFER_FLAG_DELTA_UNIT, causing all buffers to be skipped
after a seek. This may be a problem with the Sorenson Squish encoder, but
arguably the keyframe bit should only be applied to video.
Fixes bug #620358.
Sebastian Dröge [Sun, 6 Jun 2010 12:56:52 +0000 (14:56 +0200)]
flvdemux: First try upstream when handling seek events/queries
Tristan Matthews [Fri, 4 Jun 2010 18:54:59 +0000 (14:54 -0400)]
gstrtpceltpay: don't always fixate sink caps to 1 channel
The getcaps function should not fixate the channels field until we
get the encoding-params field from our srcpad's caps. Fixes #620591
Wim Taymans [Fri, 4 Jun 2010 11:57:28 +0000 (13:57 +0200)]
rtsp: try all ranges from the sdp
Try all ranges in the SDP before giving up.
Wim Taymans [Fri, 4 Jun 2010 11:56:07 +0000 (13:56 +0200)]
rtspsrc: make parse_range return result
Make the parse_range function return if the parsing succeeded or failed.
Edward Hervey [Fri, 4 Jun 2010 09:44:09 +0000 (11:44 +0200)]
videomixer: if we're not linked downstream, we can do any format
Stupid me, assuming _get_allowed_caps() would actually return the
pad templates if there was no peer.
Sjoerd Simons [Mon, 31 May 2010 15:26:19 +0000 (16:26 +0100)]
Keep announcing the delivery-method in the capabilities
Even though we don't use delivery-method in our payloader, older versions of
the theora payloader in gstreamer required it. As such we need to keep this
around in the caps for backwards-compatibility.
This reverts part of
49463a37cbaa952e1401291f0a2623de6cab3880
Fixes #618940
Tim-Philipp Müller [Thu, 3 Jun 2010 16:52:11 +0000 (17:52 +0100)]
oss4: add some comments for translators to clarify meaning of "Low"
"Low" etc. are quality settings here (e.g. for the internal resampler).
Some day when we use GLib's i18n functions we might want to use
NC_() and g_dpgettext2() here instead of the comments.
Fixes #555967.
Wim Taymans [Thu, 3 Jun 2010 17:23:01 +0000 (19:23 +0200)]
mp4gdepay: calculate the frame duration correctly
When we calculate the frame duration, we need to use the amount of
frames in the _previous_ packet, not the current packet. The frame duration is
needed to correctly de-interleave interleaved streams. This fixes the case where
there are a variable number of frames in a packet.
Fixes #620494
Edward Hervey [Thu, 3 Jun 2010 16:58:42 +0000 (18:58 +0200)]
videomixer: Don't return caps in get_caps() that will be rejected
This commit basically puts _get_caps() in sync with accept_caps().
If we don't have a master pad OR the master pad caps aren't negotiated
then we just return the downstream allowed caps.
If we have a master pad with negotiated caps, we return those caps
with a free range of width/height/framerate
Sebastian Dröge [Thu, 3 Jun 2010 11:45:32 +0000 (13:45 +0200)]
Revert "pulsesink: Add comments to remove the provide-clock message posting once we depend on base 0.10.30"
This reverts commit
8f3708f38aa3839a6a625ca7d1c166101c9fbb7f.
The baseaudiosink commit was reverted
Sebastian Dröge [Thu, 3 Jun 2010 08:27:25 +0000 (10:27 +0200)]
pulsesink: Add comments to remove the provide-clock message posting once we depend on base 0.10.30
baseaudiosink does all this for us now.
Mark Nauwelaerts [Wed, 2 Jun 2010 14:36:11 +0000 (16:36 +0200)]
flvdemux: delayed seek handling also deserves TRUE event response
Thijs Vermeir [Wed, 2 Jun 2010 13:30:47 +0000 (15:30 +0200)]
rtpjitterbuffer: fix compiler warning
unused variable ‘estimated’
Alessandro Decina [Wed, 2 Jun 2010 13:04:00 +0000 (15:04 +0200)]
common: revert the change i did in my previous commit
Alessandro Decina [Wed, 2 Jun 2010 11:39:10 +0000 (13:39 +0200)]
rtpjitterbuffer: stop buffering and emit EOS at the end of a stream
When using RTP_JITTER_BUFFER_MODE_BUFFER, make sure that the ringbuffer doesn't
get stuck buffering forever when there isn't enough data left to fill the
buffer.
Benjamin Otte [Tue, 1 Jun 2010 19:52:59 +0000 (21:52 +0200)]
debugutils: Don't consume preroll buffer twice
Benjamin Otte [Tue, 1 Jun 2010 19:32:11 +0000 (21:32 +0200)]
pulse: Style fix: use g_strdup() instead of printf()ing a simple string
Benjamin Otte [Thu, 27 May 2010 14:07:31 +0000 (16:07 +0200)]
debugutils: Replace md5 implementation with glib's
https://bugzilla.gnome.org/show_bug.cgi?id=619824
Mark Nauwelaerts [Sat, 22 May 2010 09:55:37 +0000 (11:55 +0200)]
avimux: clean up code for avi header using a bytewriter
https://bugzilla.gnome.org/show_bug.cgi?id=619293
Pierre-Louis Bossart [Tue, 1 Jun 2010 23:54:41 +0000 (18:54 -0500)]
pulsesink: optimize communication with PulseAudio using pa_stream_begin_write