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
Sebastian Dröge [Fri, 9 Jul 2010 15:33:55 +0000 (17:33 +0200)]
dv1394src: Post clock-provide and clock-lost messages when going from/to PLAYING
In PAUSED and below the clock is not working.
Sebastian Dröge [Sun, 4 Jul 2010 14:57:55 +0000 (16:57 +0200)]
gconf: Fix ref handling of new child elements and minor cleanup
Sebastian Dröge [Sun, 4 Jul 2010 07:45:52 +0000 (09:45 +0200)]
gconfvideosrc: Use correct GConf key
Sebastian Dröge [Sat, 3 Jul 2010 12:16:42 +0000 (14:16 +0200)]
gconf: Port gconfaudiosrc to GstSwitchSrc
Sebastian Dröge [Sat, 3 Jul 2010 12:12:12 +0000 (14:12 +0200)]
gconf: Port gconfvideosrc to GstSwitchSrc
Sebastian Dröge [Sat, 3 Jul 2010 12:11:55 +0000 (14:11 +0200)]
gconf: Add GstSwitchSrc base class
Sebastian Dröge [Sat, 3 Jul 2010 11:56:33 +0000 (13:56 +0200)]
gconf: Create the ghostpad of the switchsink from the template
Sebastian Dröge [Wed, 7 Jul 2010 08:10:52 +0000 (10:10 +0200)]
pulsesink: Post clock-provide/clock-lost when going to/from PAUSED
Also use gst_audio_clock_new_full() to prevent crashes when the
clock is used after the element was destroyed.
Mark Nauwelaerts [Thu, 15 Jul 2010 09:49:03 +0000 (11:49 +0200)]
matroskademux: remove bogus UNLOCK
Mark Nauwelaerts [Tue, 13 Jul 2010 10:34:44 +0000 (12:34 +0200)]
qtdemux: also calculate PAR using track width and height for QT files
(... as opposed to only for ISO style files).
Fixes #624173.
Mark Nauwelaerts [Mon, 12 Jul 2010 15:29:12 +0000 (17:29 +0200)]
matroskademux: handle bogus files storing ADTS AAC data
Mark Nauwelaerts [Fri, 9 Jul 2010 14:57:33 +0000 (16:57 +0200)]
matroskademux: do not error out on a block with unknown tracknumber
Mark Nauwelaerts [Thu, 8 Jul 2010 16:57:21 +0000 (18:57 +0200)]
qtdemux: do not align reverse playback reference stream twice
Timestamp rounding issues could lead to going backwards 2 keyframe periods
(rather than only 1). While this is not necessarily a problem, it might
potentially place additional (buffering) load on downstream and could be
avoided (because We Can).
Fixes #623629.
Mark Nauwelaerts [Thu, 8 Jul 2010 14:07:16 +0000 (16:07 +0200)]
qtdemux: convert some more mov format timestamp to gst time
Mark Nauwelaerts [Wed, 7 Jul 2010 12:16:59 +0000 (14:16 +0200)]
avidemux: additional verification heuristics for VBR audio stream
Check for and override some header field(s) for reasonable values, according
to later expected use in calculations.
Alessandro Decina [Wed, 14 Jul 2010 13:21:21 +0000 (15:21 +0200)]
videobalance: Fix wrong lock order that could lead to a deadlock. Fixes #624331.
Tim-Philipp Müller [Fri, 16 Jul 2010 10:31:08 +0000 (11:31 +0100)]
Back to development
Tim-Philipp Müller [Thu, 15 Jul 2010 00:49:04 +0000 (01:49 +0100)]
Release 0.10.24
Tim-Philipp Müller [Thu, 15 Jul 2010 00:35:06 +0000 (01:35 +0100)]
po: update translations
Tim-Philipp Müller [Tue, 6 Jul 2010 23:42:46 +0000 (00:42 +0100)]
0.10.23.4 pre-release
Tim-Philipp Müller [Tue, 6 Jul 2010 23:31:17 +0000 (00:31 +0100)]
po: update translations
Michael Grzeschik [Wed, 23 Jun 2010 09:47:43 +0000 (11:47 +0200)]
v4l2sink: destroy buffer pool when changing state to NULL
In the case we change the State from READY_TO_NULL the buffers in the pool
still hold an open dup file descriptor to the device, therefore the device
release function will not be called and the device will probably answer with
-EBUSY when we reopen it in the next NULL_TO_READY transition.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
See bug #622500 and #612244.
Arun Raghavan [Tue, 6 Jul 2010 07:51:19 +0000 (13:21 +0530)]
qtdemux: Fix order of bitrates in 'btrt' atom
There seems to be a bug in libmp4v2 that generates a MPEG4BitRateBox as
(bufferSizeDB, avgBitrate, maxBitrate) instead of (bufferSizeDB,
maxBitrate, avgBitrate), according to the spec. I used the mp4file
output while writing this code, so the order is wrong. This patches
fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=623654
Mark Nauwelaerts [Mon, 5 Jul 2010 10:05:57 +0000 (12:05 +0200)]
jpegdec: fix skipping extra 0xff markers
Fixes #623585.
Tim-Philipp Müller [Tue, 29 Jun 2010 22:18:23 +0000 (23:18 +0100)]
jpegdec: fix memory leak
Don't leak result of gst_adapter_take(). There are most likely
smarter things we can do, but let's keep things simple for the
release.
Fixes #623172.
Edward Hervey [Fri, 2 Jul 2010 10:31:31 +0000 (12:31 +0200)]
qtdemux: strip out bogus tags from XMP atom
https://bugzilla.gnome.org/show_bug.cgi?id=623366
Andrzej K. Haczewski [Fri, 2 Jul 2010 12:25:22 +0000 (14:25 +0200)]
flvmux: Write duration at the correct position
Thijs Vermeir [Wed, 30 Jun 2010 09:12:08 +0000 (11:12 +0200)]
rtpptdemux: fix memleak on custom downstream events
by not sending custom downstream event twice and fix memleak when
not handling the event
https://bugzilla.gnome.org/show_bug.cgi?id=623196
Tim-Philipp Müller [Tue, 29 Jun 2010 19:18:51 +0000 (20:18 +0100)]
0.10.23.3 pre-release
Tim-Philipp Müller [Tue, 29 Jun 2010 19:14:53 +0000 (20:14 +0100)]
wavparse: fix unportable printf format specifiers in commented out code
To avoid false positives when grepping for unportable specifiers.
Tim-Philipp Müller [Tue, 29 Jun 2010 18:12:36 +0000 (19:12 +0100)]
configure: fix --disable-external
Tim-Philipp Müller [Mon, 28 Jun 2010 14:44:06 +0000 (15:44 +0100)]
Bump automake requirement to 1.10 and autoconf to 2.60
For maintainability reasons and $(builddir).
See #622944.