Sjoerd Simons [Mon, 30 Aug 2010 18:03:52 +0000 (19:03 +0100)]
v4l2src: Use GstBaseSrc::block-size as fallback size
Sjoerd Simons [Mon, 30 Aug 2010 17:36:54 +0000 (18:36 +0100)]
v4l2src: Fix using mpegts via the mmap interface
MPEG doesn't have a static size per frame, so don't pretend it has one
and fail when capturing because it doesn't match. Instead mark the size
as unknown and let the read frame grabbing method use a reasonable fallback
value (assuming that's only for actual streaming formats)
Fixes bug #628349.
Sebastian Dröge [Fri, 27 Aug 2010 16:15:03 +0000 (18:15 +0200)]
wavpackparse: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 16:13:21 +0000 (18:13 +0200)]
pngdec: Don't use GST_FLOW_IS_FATAL()
And don't post an error message if downstream returns UNEXPECTED.
Sebastian Dröge [Fri, 27 Aug 2010 16:09:11 +0000 (18:09 +0200)]
dvdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 16:05:50 +0000 (18:05 +0200)]
jpegdec: Don't use GST_FLOW_IS_FATAL()
And don't post an error message if buffer allocation failed because
of UNEXPECTED, which only means that downstream wants us to EOS now.
Sebastian Dröge [Fri, 27 Aug 2010 16:02:57 +0000 (18:02 +0200)]
flacenc/dec: Don't use GST_FLOW_IS_FATAL()
And properly handle UNEXPECTED and WRONG_STATE.
Sebastian Dröge [Fri, 27 Aug 2010 15:52:18 +0000 (17:52 +0200)]
cmmldec/enc: Don't use GST_FLOW_IS_FATAL()
And as a result, don't ignore WRONG_STATE and NOT_LINKED.
Both mean that it's a good idea to pass them upstream instead
of pretending that everything is good.
Sebastian Dröge [Fri, 27 Aug 2010 15:47:22 +0000 (17:47 +0200)]
wavparse: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:45:53 +0000 (17:45 +0200)]
rtspsrc: Don't use GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
Sebastian Dröge [Fri, 27 Aug 2010 15:39:32 +0000 (17:39 +0200)]
qtdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:37:33 +0000 (17:37 +0200)]
matroskademux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:35:47 +0000 (17:35 +0200)]
rndbuffersize: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:35:38 +0000 (17:35 +0200)]
flvdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:32:09 +0000 (17:32 +0200)]
avidemux: Don't use GST_FLOW_IS_FATAL()
And document why wrong-state doesn't need an error message.
Sebastian Dröge [Thu, 26 Aug 2010 11:44:49 +0000 (13:44 +0200)]
pulsesink: Fail gracefully if no threaded PA mainloop can be created
Fixes bug #628020.
Sebastian Dröge [Tue, 24 Aug 2010 13:11:20 +0000 (15:11 +0200)]
videomixer: Update disted ORC files
Sebastian Dröge [Mon, 23 Aug 2010 13:44:50 +0000 (15:44 +0200)]
videomixer: Optimize ARGB blending and implement BGRA blending with orc
This now means, that we have absolutely no handwritten assembly anymore
in videomixer and it's also faster now when using SSE.
David Schleef [Sun, 22 Aug 2010 08:58:05 +0000 (01:58 -0700)]
videomixer: Add orc implementation for blending
videomixer: Add orc implementation for blending
David Schleef [Sun, 22 Aug 2010 08:54:16 +0000 (01:54 -0700)]
videomixer: Fix example pipelines
videomixer: Fix example pipelines
Sebastian Dröge [Fri, 20 Aug 2010 09:41:55 +0000 (11:41 +0200)]
imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer
Sebastian Dröge [Fri, 20 Aug 2010 09:38:09 +0000 (11:38 +0200)]
imagefreeze: Add test for bufferalloc passthrough
Sebastian Dröge [Fri, 20 Aug 2010 08:35:15 +0000 (10:35 +0200)]
imagefreeze: Fix race conditions in the unit test
If setting the pipeline to PLAYING before issuing the seek, buffers
are already arriving at the sink before the seek is handled and
will have the wrong timestamps and everything.
Fixes bug #625547.
Sebastian Dröge [Fri, 20 Aug 2010 08:34:17 +0000 (10:34 +0200)]
imagefreeze: Fix another subtle race condition related to starting the srcpad task
Due to a seek the srcpad task could be started in rare circumstances although
it shouldn't be started anymore because no upstream buffer is available.
Sebastian Dröge [Fri, 20 Aug 2010 08:24:33 +0000 (10:24 +0200)]
imagefreeze: Protect the flushing-seek variable by the srcpad's stream lock
This fixes a subtle race condition, that caused bufferalloc to fail
with wrong-state due to a seek but caused it to be not retried as
it should.
Sebastian Dröge [Fri, 20 Aug 2010 07:14:59 +0000 (09:14 +0200)]
imagefreeze: Always generate a perfectly timestamped stream
Before there could be rounding errors when calculating the duration,
resulting in timestamp + duration being smaller than the next buffer's
timestamp.
Sebastian Dröge [Thu, 19 Aug 2010 16:38:39 +0000 (18:38 +0200)]
pulsesink: Only include the server name in the context name if it's not NULL
Philippe Normand [Wed, 18 Aug 2010 14:37:41 +0000 (16:37 +0200)]
pulsesink: Add "client" property to set the PA client name
Allows the application to modify the client name used to connect when
connecting to the PulseAudio daemon. Note however that updating the
property after the element reached the READY state will have no
effect until the next NULL->READY transition.
Fixes bug #627174.
David Hoyt [Thu, 19 Aug 2010 15:59:09 +0000 (17:59 +0200)]
souphttpsrc: Improve error messages
Before they contained the URL before the actual failure. The other
way around makes more sense and we do the same in other elements
like filesrc.
Fixes bug #627289.
Sebastian Dröge [Thu, 19 Aug 2010 10:46:50 +0000 (12:46 +0200)]
pulsesink: Free the clock on state change failures too
Philippe Normand [Tue, 17 Aug 2010 14:26:41 +0000 (16:26 +0200)]
pulseutil: include pid value in gst_pulse_client_name() fallback return value
Fixes bug #627162
Sebastian Dröge [Thu, 19 Aug 2010 10:32:59 +0000 (12:32 +0200)]
pulsesink: Free the GstPulseContext after usage
Philippe Normand [Mon, 16 Aug 2010 07:12:04 +0000 (09:12 +0200)]
pulsesink: share the PA context between all clients with the same name
Avoid to create a new PA context for each new client by using a hash
table containing the list of ring-buffers and the shared PA context
for each client. Doing this will improve application memory usage in
the cases where multiple pipelines involving multiple pulsesink
elements are used.
Fixes bug #624338.
Philippe Normand [Tue, 17 Aug 2010 11:41:49 +0000 (13:41 +0200)]
pulsesink: clear the PA mainloop if baseaudiosink failed to open the ring_buffer
If the application requests a state-change and pulsesink fails to open
the ring_buffer device the mainloop attribute of the sink should be
cleaned up to avoid future state-change (NULL->READY) failures.
Sebastian Dröge [Thu, 19 Aug 2010 10:23:16 +0000 (12:23 +0200)]
wavparse: Post an error message if EOS happens before valid input is found
Fixes bug #627341.
Sebastian Dröge [Thu, 12 Aug 2010 09:49:47 +0000 (11:49 +0200)]
avidemux: Send close newsegment event from the streaming thread
Sebastian Dröge [Wed, 11 Aug 2010 09:36:31 +0000 (11:36 +0200)]
imagefreeze: Retry bufferalloc if it was aborted with WRONG_STATE because of a flushing seek
Sebastian Dröge [Wed, 11 Aug 2010 06:46:14 +0000 (08:46 +0200)]
imagefreeze: Return GST_FLOW_UNEXPECTED when getting a second buffer
This prevents upstream from pushing many useless buffers and makes
it go into EOS state.
Sebastian Dröge [Tue, 10 Aug 2010 18:11:26 +0000 (20:11 +0200)]
imagefreeze: Passthrough buffer allocations
Tim-Philipp Müller [Sat, 4 Sep 2010 12:10:30 +0000 (13:10 +0100)]
Back to development
Temporarily disable -DGST_DISABLE_DEPRECATED for git builds until
the code is updated for the GST_FLOW_IS_* macro deprecations.
Tim-Philipp Müller [Thu, 2 Sep 2010 22:44:19 +0000 (23:44 +0100)]
Release 0.10.25
Tim-Philipp Müller [Thu, 2 Sep 2010 22:12:48 +0000 (23:12 +0100)]
docs: update docs for release
Tim-Philipp Müller [Thu, 2 Sep 2010 22:07:36 +0000 (23:07 +0100)]
po: update translations
Sebastian Dröge [Wed, 25 Aug 2010 17:01:50 +0000 (19:01 +0200)]
0.10.24.5 pre-release
David Schleef [Mon, 23 Aug 2010 04:15:07 +0000 (21:15 -0700)]
deinterlace: use separate buffer metadata for fields
Call gst_buffer_make_metadata_writable() on buffers that are
duplicated into fields. Fixes #627689.
Sebastian Dröge [Sat, 21 Aug 2010 19:41:36 +0000 (21:41 +0200)]
0.10.24.4 pre-release
Thiago Santos [Thu, 19 Aug 2010 21:30:05 +0000 (18:30 -0300)]
jpegdec: Prevent crash when reading image with problems
Check if we have data on the adapter and fail if not.
Fixes #627413
Stefan Kost [Fri, 13 Aug 2010 14:24:01 +0000 (17:24 +0300)]
Automatic update of common submodule
From 3e8db1d to ec60217
Sebastian Dröge [Wed, 11 Aug 2010 20:20:25 +0000 (22:20 +0200)]
imagefreeze: Send close segments when seeking only for non-flushing seeks and if we already sent a newsegment event
Fixes bug #626619.
Tim-Philipp Müller [Wed, 11 Aug 2010 15:50:42 +0000 (16:50 +0100)]
0.10.24.3 pre-release
Mark Nauwelaerts [Wed, 11 Aug 2010 09:17:18 +0000 (11:17 +0200)]
qtdemux: prevent reading past avc1 atom when parsing
... when one of the subatoms has a large/invalid size.
Fixes #626609.
Tim-Philipp Müller [Tue, 10 Aug 2010 22:37:23 +0000 (23:37 +0100)]
0.10.24.2 pre-release
Tim-Philipp Müller [Tue, 10 Aug 2010 09:57:45 +0000 (10:57 +0100)]
Automatic update of common submodule
From bd2054b to 3e8db1d
Tim-Philipp Müller [Sun, 8 Aug 2010 23:36:36 +0000 (00:36 +0100)]
pulse: fix printf format in some debugging messages
Tim-Philipp Müller [Sun, 8 Aug 2010 22:31:42 +0000 (23:31 +0100)]
pkgconfig: set pluginsdir to top-level builddir without the pkgconfig/.. bits
Removes clutter in plugin dir paths. This is only used to find the -good
plugins for unit tests of ugly/bad/ffmpeg/etc. in an uninstalled setup.
Tim-Philipp Müller [Fri, 6 Aug 2010 19:04:59 +0000 (20:04 +0100)]
v4l2src: also log pixel formats in sorted order
Sjoerd Simons [Fri, 6 Aug 2010 17:07:46 +0000 (18:07 +0100)]
v4l2: sort formats in the right order so that non-emulated formats are prefered
The format list should be sorted from high ranks to low ranks. In the GSList
sorting function this means the compare needs to return a positive value if
format a has a lower rank than format b.
Among other things this fixes v4l2src to prefer non-emulated formats
to emulated formats when built against libv4l.
Sebastian Dröge [Fri, 6 Aug 2010 17:24:06 +0000 (19:24 +0200)]
videomixer: Fix pipeline in the documentation
Make sure that we have the same color format on all streams, i.e. AYUV
Fixes bug #625452.
Stefan Kost [Thu, 5 Aug 2010 10:56:44 +0000 (13:56 +0300)]
Automatic update of common submodule
From a519571 to bd2054b
Jonathan Matthew [Mon, 14 Jun 2010 09:58:11 +0000 (19:58 +1000)]
id3v2mux: write beats-per-minute tag using TBPM frame
https://bugzilla.gnome.org/show_bug.cgi?id=621520
Sebastian Dröge [Sun, 25 Jul 2010 09:47:43 +0000 (11:47 +0200)]
videomixer: Move debug categories into the source files and add debug category for the blend functions
Sebastian Dröge [Wed, 4 Aug 2010 17:25:31 +0000 (19:25 +0200)]
configure: Check if the compiler supports ISO C89 or C99 and which parameters are required
This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.
Philippe Normand [Thu, 15 Jul 2010 08:10:31 +0000 (10:10 +0200)]
pulsesink: use G_TYPE_DEFINE to define ring buffer type
The existing get_type() implementation is racy, and the
g_type_class_ref() workaround didn't actually work because
it was in the wrong function. Since class creation in GObject
is thread-safe these days (since 2.16), the class_ref workaround
is no longer needed and it is sufficient to ensure the _get_type()
function is thread-safe, which G_TYPE_DEFINE does.
https://bugzilla.gnome.org/show_bug.cgi?id=624338
Sebastian Dröge [Wed, 4 Aug 2010 13:20:42 +0000 (15:20 +0200)]
pulsesink: Post CLOCK-LOST/CLOCK-PROVIDE when going to/from READY
Otherwise the clocks are redistributed every time the pipeline
goes to PAUSED, which is quite expensive.
Wim Taymans [Mon, 12 Jul 2010 10:35:15 +0000 (12:35 +0200)]
rtpmp4gpay: implement perfect timestamps
Use bitreader for parsing the config string
Reset state variables when going to READY
Parse frame length and use it to keep track of the rtptimestamps
Wim Taymans [Fri, 9 Jul 2010 12:07:49 +0000 (14:07 +0200)]
rtph263pdepay: allow more clock-rates as input
Although the spec says that the clock-rate should always be 90000, some rtsp
servers send different clock-rates so we must accept then in order to handle
those streams too.
Wim Taymans [Tue, 6 Jul 2010 17:02:14 +0000 (19:02 +0200)]
L16depay: default to 1 channel
When we can't find any channel or encoding-params on the caps for dynamic
payload types, set the default number of channels to 1, as the spec says we
should.
See #623209
Wim Taymans [Tue, 6 Jul 2010 16:22:24 +0000 (18:22 +0200)]
rtspsrc: don't reuse udp sockets
Don't reuse sockets but make the udpsrc element fail the state change when the
socket is already in use. If we don't prevent reuse, we might end up using the same
port for different streams in some cases.
Fixes #622017
Wim Taymans [Tue, 6 Jul 2010 16:11:21 +0000 (18:11 +0200)]
udpsrc: add property to enable port reuse
Wim Taymans [Mon, 5 Jul 2010 08:23:37 +0000 (10:23 +0200)]
L16depay: use encoding-params for the channels
When parsing the number of channels, use the encoding-params property from the
RTP caps because that is where we can find the channels according to the spec.
Fall back to the channels property in the caps when needed.
Fixes #623209
Wim Taymans [Tue, 29 Jun 2010 08:46:41 +0000 (10:46 +0200)]
rtspsrc: improve error and warning message
Improve error and warning message.
Fixes #622577
Stefan Kost [Mon, 2 Aug 2010 20:15:56 +0000 (23:15 +0300)]
examples: no need to set the color for each frq-band
Mark Nauwelaerts [Mon, 2 Aug 2010 10:56:29 +0000 (12:56 +0200)]
rtpg729pay: avoid basertppayload perfect-rtptime mode
G729 packets may only occur intermittently (e.g. cn packets), and as such
do not allow for perfect-rtptime calculating rtp times based on frame or byte
count. In particular, do not use rtp audio base payloader as base class, but
rather base payloader directly.
Mark Nauwelaerts [Mon, 2 Aug 2010 10:48:02 +0000 (12:48 +0200)]
rtph264pay: fix element leak
Mark Nauwelaerts [Mon, 2 Aug 2010 10:46:41 +0000 (12:46 +0200)]
rtpmp4vdepay: fix buffer leak
Mark Nauwelaerts [Mon, 2 Aug 2010 10:46:20 +0000 (12:46 +0200)]
tests: rtp payloading: fix pad leak
Mark Nauwelaerts [Thu, 29 Jul 2010 15:18:11 +0000 (17:18 +0200)]
avidemux: push mode; use proper movi offset for movi based index
Fixes #623357.
Thiago Santos [Thu, 29 Jul 2010 13:00:15 +0000 (10:00 -0300)]
qtdemux: Correctly parse mvhd atoms
Parse mvhd data according to its version to avoid failing
on valid files.
Thiago Santos [Wed, 28 Jul 2010 15:21:41 +0000 (12:21 -0300)]
qtdemux: Fix the max/avg in btrt atom reading
According to ISO media base format, the max bitrate is the
first one, and the avg comes next.
Mark Nauwelaerts [Tue, 27 Jul 2010 13:58:02 +0000 (15:58 +0200)]
matroskademux: proper handling of streaming upstream without duration
Fixes #625371.
Tim-Philipp Müller [Mon, 26 Jul 2010 16:33:09 +0000 (18:33 +0200)]
matroskademux: initialize some variables to fix compiler warnings on OSX build bot
Tim-Philipp Müller [Mon, 26 Jul 2010 16:15:25 +0000 (18:15 +0200)]
pulsesink: correctly check what version of gst-plugins-base we're compiling against
We need to check the gst-plugins-base version, not the core version
(even if both should be the same in any sane setup).
Arnaud Vrac [Mon, 26 Jul 2010 15:45:42 +0000 (17:45 +0200)]
rtspsrc: add port-range property to rtspsrc
To support setups with firewall/ipsec, it is useful for an rtsp client to be
able to set the range of ports that can be used for rtp/rtcp reception.
Allows this by adding a "port-range" property to the rtspsrc element.
Fixes #625153
Andoni Morales Alastruey [Mon, 26 Jul 2010 11:38:31 +0000 (13:38 +0200)]
qtdemux: set the pixel-aspect-ratio field also for par=1/1
https://bugzilla.gnome.org/show_bug.cgi?id=625302
Wim Taymans [Mon, 26 Jul 2010 13:31:16 +0000 (15:31 +0200)]
rtspsrc: fix memory leak in server request reply
The RTSP server rtspsrc is communicating with, sends a GET_PARAMETER request
periodically as a ping. The code in gst_rtspsrc_handle_request forms an OK
response and sends, but doesn't call gst_rtsp_message_unset to free the memory
after sending the response. This results in a constant slow memory leak.
Fixes #624770
Zaheer Abbas Merali [Sat, 24 Jul 2010 21:39:54 +0000 (22:39 +0100)]
cpureport: remove bogus docs
Zaheer Abbas Merali [Sat, 24 Jul 2010 21:37:11 +0000 (22:37 +0100)]
debugutils: new element cpureport
cpureport posts bus messages after every buffer received of cpu used, system
clock time, buffer time
Sebastian Dröge [Sat, 24 Jul 2010 08:29:01 +0000 (10:29 +0200)]
examples: Destroy the cairo context after usage
Sebastian Dröge [Sat, 24 Jul 2010 08:21:05 +0000 (10:21 +0200)]
Revert "gdkpixbuf: Add a gdkpixbuf3 plugin that uses gdkpixbuf3"
This reverts commit
b6788153161b4e07fbf3d42a2d8921ea049305d0.
There's no gdk-pixbuf3 anymore. gdk-pixbuf was separated from GTK+
and will stay at version 2.0 for GTK+ 3.0.
Sebastian Dröge [Sat, 24 Jul 2010 08:19:37 +0000 (10:19 +0200)]
examples: Use cairo instead of to-be-deprecated GDK API
Fixes bug #625002.
Mark Nauwelaerts [Thu, 22 Jul 2010 14:24:43 +0000 (16:24 +0200)]
flacdec: fix event leak
Mark Nauwelaerts [Thu, 22 Jul 2010 10:05:26 +0000 (12:05 +0200)]
matroskademux: pull mode non-cue seeking
That is, in files that have no index (Cue), perform seek by scanning for
nearest cluster with timecode before requested position. Scanning is done
as a combination of interpolation and sequential scan.
Fixes #617368.
Mark Nauwelaerts [Fri, 16 Jul 2010 10:46:50 +0000 (12:46 +0200)]
matroskamux: streamable files need no _finish
Fixes #624455.
Mark Nauwelaerts [Thu, 22 Jul 2010 09:46:35 +0000 (11:46 +0200)]
avidemux: push mode; handle 0-size data chunks
Fixes #618535.
Sebastian Dröge [Wed, 21 Jul 2010 06:11:23 +0000 (08:11 +0200)]
videomixer: Only reset QoS information and send a NEWSEGMENT event downstream for NEWSEGMENT events on the master pad
David Schleef [Thu, 15 Jul 2010 03:31:44 +0000 (20:31 -0700)]
capsdebug: Add new element
Tim-Philipp Müller [Tue, 20 Jul 2010 15:11:25 +0000 (16:11 +0100)]
matroskamux: demote WARNING message to LOG level
It's not a warning.
Thiago Santos [Mon, 19 Jul 2010 17:47:32 +0000 (14:47 -0300)]
jpegdec: Fix regression on markers parsing
Fixes a regression introduced when fixing bug #583047 in
commit
a391bf52cc3c580c7a0a2316ca52eb66da3b85c1
Skip the data when libjpeg asks it to be skipped on
one of its callbacks.
Mark Nauwelaerts [Fri, 16 Jul 2010 16:04:44 +0000 (18:04 +0200)]
matroskademux: add missing argument in debug message
Sebastian Dröge [Fri, 16 Jul 2010 15:53:55 +0000 (17:53 +0200)]
pulsesink: Only use gst_audio_clock_new() when compiling against newer base