platform/upstream/gstreamer.git
15 years agoqtdemux: don't leak cover art
Tim-Philipp Müller [Tue, 23 Jun 2009 14:35:37 +0000 (15:35 +0100)]
qtdemux: don't leak cover art

15 years agoudp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases
Tim-Philipp Müller [Tue, 23 Jun 2009 13:10:10 +0000 (14:10 +0100)]
udp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases

Include the header from where we include all the system headers with the
socket stuff before we try to define EAI_ADDRFAMILY ourselves, otherwise
we define it ourselves and then get a compiler warning if a system header
defines it as well without guarding against it being defined already.

15 years agomatroska: and the new headers too
Wim Taymans [Tue, 23 Jun 2009 12:39:56 +0000 (14:39 +0200)]
matroska: and the new headers too

15 years agomatroske: fix compiler error
Wim Taymans [Tue, 23 Jun 2009 12:32:43 +0000 (14:32 +0200)]
matroske: fix compiler error

change gpointer to guint8 * for codec_state and codec_priv as some
functions operate on those types and it avoids breaking strict-aliasing
rules.

15 years agomatroskademux: avoid leaking buffers
Wim Taymans [Tue, 23 Jun 2009 10:42:33 +0000 (12:42 +0200)]
matroskademux: avoid leaking buffers

Don't leak buffers when resyncing to a keyframe.
Avoid leaking buffers when exiting the loop on error conditions.
Add some more debug info.

Fixes #585911

15 years agov4l2: open/close the device in READY
Stefan Kost [Mon, 22 Jun 2009 12:56:58 +0000 (15:56 +0300)]
v4l2: open/close the device in READY

This allows to query the device in READY. Before one need to switch it to PAUSED
and that also starts streaming.

15 years agoqtdemux: use GST_MEMDUMP
Tim-Philipp Müller [Sat, 20 Jun 2009 14:41:44 +0000 (15:41 +0100)]
qtdemux: use GST_MEMDUMP

15 years agoapedemux: add container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 23:16:41 +0000 (00:16 +0100)]
apedemux: add container-format tag

Use pbutils here because the string is translated.

15 years agoid3demux: add container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 23:15:51 +0000 (00:15 +0100)]
id3demux: add container-format tag

Using pbutils here because the string is translated.

15 years agodvdemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:51:52 +0000 (23:51 +0100)]
dvdemux: post container-format tag

Also merge the two almost identical _add_*_pad() functions into one.

15 years agodvdemux: don't screw up first audio buffer
Tim-Philipp Müller [Thu, 18 Jun 2009 22:43:49 +0000 (23:43 +0100)]
dvdemux: don't screw up first audio buffer

Query the audio format, esp. dvdemux->num_channels, before we use that
variable to allocate the initial buffer. That way we don't accidentally
push a zero-sized buffer as first audio buffer.

15 years agomultipartdemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:38:30 +0000 (23:38 +0100)]
multipartdemux: post container-format tag

15 years agomatroska-demux: post container-format tags
Tim-Philipp Müller [Thu, 18 Jun 2009 22:37:11 +0000 (23:37 +0100)]
matroska-demux: post container-format tags

15 years agoavidemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:36:28 +0000 (23:36 +0100)]
avidemux: post container-format tag

15 years agoqtdemux: post container-format tags
Tim-Philipp Müller [Thu, 18 Jun 2009 22:35:29 +0000 (23:35 +0100)]
qtdemux: post container-format tags

15 years agoaudioamplify: Fix integer overflows on 32 bit architectures
Sebastian Dröge [Sun, 21 Jun 2009 15:13:43 +0000 (17:13 +0200)]
audioamplify: Fix integer overflows on 32 bit architectures

15 years agoaudioamplify: Don't declare a loop index static
Kipp Cannon [Sun, 21 Jun 2009 07:50:54 +0000 (09:50 +0200)]
audioamplify: Don't declare a loop index static

The previous patch to add support for additional sample formats possibly
introduced a reentrancy bug:  a variable used for a loop index was declared
static.  This patch fixes that, and also adds a "/* *INDENT-ON* */" annotation
following the macro block.  (I don't know what the annotation is for, but the
adder, where I copied this from, has it).

15 years agoaudioamplify: Fix off-by-one in wrap-positive mode
Sebastian Dröge [Fri, 19 Jun 2009 20:37:27 +0000 (22:37 +0200)]
audioamplify: Fix off-by-one in wrap-positive mode

15 years agoaudioamplify: Add noclip method and support for more formats
Kipp Cannon [Fri, 19 Jun 2009 20:20:45 +0000 (22:20 +0200)]
audioamplify: Add noclip method and support for more formats

Fixes bug #585828 and #585831.

15 years agoudp: Fix build on FreeBSD
Koop Mast [Fri, 19 Jun 2009 19:46:41 +0000 (21:46 +0200)]
udp: Fix build on FreeBSD

Fixes bug #586397.

15 years agotests: add unit tests for buffer-list payloaders
Ognyan Tonchev [Fri, 19 Jun 2009 16:12:27 +0000 (18:12 +0200)]
tests: add unit tests for buffer-list payloaders

See #585559

15 years agortpmp4vpay: add support for buffer-list
Ognyan Tonchev [Fri, 19 Jun 2009 16:00:35 +0000 (18:00 +0200)]
rtpmp4vpay: add support for buffer-list

See #585559

15 years agortpjpegpay: add support for buffer-lists
Ognyan Tonchev [Fri, 19 Jun 2009 15:57:12 +0000 (17:57 +0200)]
rtpjpegpay: add support for buffer-lists

See #585559

15 years agortph264pay: add support for buffer-lists
Ognyan Tonchev [Fri, 19 Jun 2009 15:53:32 +0000 (17:53 +0200)]
rtph264pay: add support for buffer-lists

See #585559

15 years agoudputils: don't free invalid memory
Wim Taymans [Thu, 18 Jun 2009 09:54:22 +0000 (11:54 +0200)]
udputils: don't free invalid memory

As spotted by benjiG in IRC.
don't free invalid memory when getaddrinfo failed.

15 years agopulseink: don't leak device_description
Wim Taymans [Wed, 17 Jun 2009 15:48:31 +0000 (17:48 +0200)]
pulseink: don't leak device_description

don't leak the device_description.
some cleanups.

15 years agopo: update .po files for sunaudiomixer string changes
Tim-Philipp Müller [Fri, 19 Jun 2009 13:44:40 +0000 (14:44 +0100)]
po: update .po files for sunaudiomixer string changes

15 years agoavidemux: streaming; adjust sizes to cater for padding in chunks
Mark Nauwelaerts [Thu, 18 Jun 2009 14:58:26 +0000 (16:58 +0200)]
avidemux: streaming; adjust sizes to cater for padding in chunks

15 years agoavidemux: streaming mode; handle data chunks grouped in rec lists.
Mark Nauwelaerts [Wed, 17 Jun 2009 09:54:53 +0000 (11:54 +0200)]
avidemux: streaming mode; handle data chunks grouped in rec lists.

Fixes #567983.

15 years agoqtdemux: map some tags to COMPOSER rather than ARTIST
Mark Nauwelaerts [Wed, 10 Jun 2009 10:36:50 +0000 (12:36 +0200)]
qtdemux: map some tags to COMPOSER rather than ARTIST

15 years agoqtdemux: fix some 3GP tag extraction (keywords, genre, location)
Mark Nauwelaerts [Wed, 10 Jun 2009 10:34:43 +0000 (12:34 +0200)]
qtdemux: fix some 3GP tag extraction (keywords, genre, location)

15 years agoqtdemux: extract pixel-aspect-ratio information
Mark Nauwelaerts [Tue, 9 Jun 2009 13:36:50 +0000 (15:36 +0200)]
qtdemux: extract pixel-aspect-ratio information

15 years agomatroskademux: Fix leaking of the Matroska TITLE element
Sebastian Dröge [Wed, 17 Jun 2009 05:14:09 +0000 (07:14 +0200)]
matroskademux: Fix leaking of the Matroska TITLE element

15 years agoeffectv: Add basic documentation for the effectv elements
Sebastian Dröge [Tue, 16 Jun 2009 18:38:42 +0000 (20:38 +0200)]
effectv: Add basic documentation for the effectv elements

15 years agoeffectv: Define the fast PRNG function at a central place
Sebastian Dröge [Tue, 16 Jun 2009 18:16:13 +0000 (20:16 +0200)]
effectv: Define the fast PRNG function at a central place

15 years agoeffectv: Move type definitions into separate headers
Sebastian Dröge [Tue, 16 Jun 2009 18:13:35 +0000 (20:13 +0200)]
effectv: Move type definitions into separate headers

This is needed for the docs later.

15 years agoeffectv: Remove get_unit_size implementations
Sebastian Dröge [Tue, 16 Jun 2009 17:41:02 +0000 (19:41 +0200)]
effectv: Remove get_unit_size implementations

The default on from GstVideoFilter handles this already.

15 years agoconfigure: bump core/base requirements to git
Tim-Philipp Müller [Tue, 16 Jun 2009 13:54:34 +0000 (14:54 +0100)]
configure: bump core/base requirements to git

Need git core for basesink bufferlist additions; -base requirement
bumped gratuitously.

15 years agotests: add some debug, send newsegment
Wim Taymans [Tue, 16 Jun 2009 13:25:54 +0000 (15:25 +0200)]
tests: add some debug, send newsegment

15 years agoudpsrc: add debug line for the socket
Wim Taymans [Tue, 16 Jun 2009 13:06:50 +0000 (15:06 +0200)]
udpsrc: add debug line for the socket

15 years agotests: turn g_print into debug
Wim Taymans [Tue, 16 Jun 2009 13:06:25 +0000 (15:06 +0200)]
tests: turn g_print into debug

15 years agomultiudpsink: add support for buffer lists
Ognyan Tonchev [Tue, 16 Jun 2009 13:04:15 +0000 (15:04 +0200)]
multiudpsink: add support for buffer lists

Add support for BufferList and add a unit test.

Fixes #585842

15 years agosouphttpsrc: reset session state when stopping
Tim-Philipp Müller [Mon, 15 Jun 2009 23:02:42 +0000 (00:02 +0100)]
souphttpsrc: reset session state when stopping

Increases the chances that the element is actually reusable.

15 years agosouphttpsrc: log response and request headers and fix some broken indenting
Tim-Philipp Müller [Mon, 15 Jun 2009 22:49:48 +0000 (23:49 +0100)]
souphttpsrc: log response and request headers and fix some broken indenting

15 years agomp4gdepay: guess constantDuration better
Wim Taymans [Mon, 15 Jun 2009 20:40:35 +0000 (22:40 +0200)]
mp4gdepay: guess constantDuration better

Do a better job at guessing the constantDuration parameter when it is not
present in the caps.

Fixes #585205

15 years agowarptv: Clean up warptv element and fix some minor bugs and leaks
Sebastian Dröge [Mon, 15 Jun 2009 19:09:47 +0000 (21:09 +0200)]
warptv: Clean up warptv element and fix some minor bugs and leaks

15 years agovertigotv: Clean up vertigotv element and fix some minor bugs and leaks
Sebastian Dröge [Mon, 15 Jun 2009 18:53:23 +0000 (20:53 +0200)]
vertigotv: Clean up vertigotv element and fix some minor bugs and leaks

15 years agodicetv: Use guint8 instead of char (which can be signed or unsigned)
Sebastian Dröge [Mon, 15 Jun 2009 18:38:01 +0000 (20:38 +0200)]
dicetv: Use guint8 instead of char (which can be signed or unsigned)

15 years agoshagadelictv: Use guint8/gint8 instead of char (which can be signed or unsigned)
Sebastian Dröge [Mon, 15 Jun 2009 18:36:39 +0000 (20:36 +0200)]
shagadelictv: Use guint8/gint8 instead of char (which can be signed or unsigned)

15 years agoshagadelictv: Clean up element and free all memory in finalize
Sebastian Dröge [Mon, 15 Jun 2009 18:31:30 +0000 (20:31 +0200)]
shagadelictv: Clean up element and free all memory in finalize

15 years agorevtv: Clean up revtv element
Sebastian Dröge [Mon, 15 Jun 2009 18:21:58 +0000 (20:21 +0200)]
revtv: Clean up revtv element

15 years agoquarktv: Simplify some code
Sebastian Dröge [Mon, 15 Jun 2009 18:07:42 +0000 (20:07 +0200)]
quarktv: Simplify some code

15 years agoquarktv: Use the input data if a NULL buffer is chosen instead of the value 0
Sebastian Dröge [Mon, 15 Jun 2009 18:07:10 +0000 (20:07 +0200)]
quarktv: Use the input data if a NULL buffer is chosen instead of the value 0

15 years agoquarktv: Fix setting the planes property of quarktv
Sebastian Dröge [Mon, 15 Jun 2009 18:00:43 +0000 (20:00 +0200)]
quarktv: Fix setting the planes property of quarktv

Setting it to a value<16 would cause crashes before because
current_plane was set to the old number of planes-1. Also
fix calculations for non-2^n planes values.

15 years agoquarktv: Clean up the quarktv element
Sebastian Dröge [Mon, 15 Jun 2009 15:50:41 +0000 (17:50 +0200)]
quarktv: Clean up the quarktv element

15 years agoeffectv: Make elements list constant
Sebastian Dröge [Mon, 15 Jun 2009 15:39:20 +0000 (17:39 +0200)]
effectv: Make elements list constant

15 years agoedgetv: Clean up edgetv element and fix memory leak
Sebastian Dröge [Mon, 15 Jun 2009 15:37:53 +0000 (17:37 +0200)]
edgetv: Clean up edgetv element and fix memory leak

15 years agodicetv: Clean up dicetv element and fix some smaller issues
Sebastian Dröge [Mon, 15 Jun 2009 15:21:58 +0000 (17:21 +0200)]
dicetv: Clean up dicetv element and fix some smaller issues

This fixes a memory leak (the dice map) and a crash when
setting the square-bits property before caps are set.

15 years agoagingtv: Actually use GstController for syncing the properties to timestamps
Sebastian Dröge [Mon, 15 Jun 2009 15:20:21 +0000 (17:20 +0200)]
agingtv: Actually use GstController for syncing the properties to timestamps

15 years agoagingtv: Export some more agingtv properties via GObject properties
Sebastian Dröge [Mon, 15 Jun 2009 15:03:38 +0000 (17:03 +0200)]
agingtv: Export some more agingtv properties via GObject properties

15 years agoagingtv: General cleanup and updating of copyright
Sebastian Dröge [Mon, 15 Jun 2009 13:06:56 +0000 (15:06 +0200)]
agingtv: General cleanup and updating of copyright

Also make the scratch-lines property exported via a GObject
property and initialize/reset the internal state correctly.

15 years agoagingtv: Store and update state inside the instance struct
Sebastian Dröge [Mon, 15 Jun 2009 13:05:58 +0000 (15:05 +0200)]
agingtv: Store and update state inside the instance struct

This makes the coloraging effect and pits effect visible.

15 years agopulsesink: ref custom ring buffer class and type in class_init
Tim-Philipp Müller [Mon, 15 Jun 2009 14:51:32 +0000 (15:51 +0100)]
pulsesink: ref custom ring buffer class and type in class_init

Hack around thread-safety issues in GObject and our racy _get_type()
functions (we could easily fix the _get_type() functions, but we still
need to hack around the GObject class races until we require a newer
GLib version, I think).

15 years agoRemove a few old example apps from the 0.8 days
Tim-Philipp Müller [Sun, 14 Jun 2009 18:19:19 +0000 (19:19 +0100)]
Remove a few old example apps from the 0.8 days

Some have been replaced by newer ones, others are demoing elements that
don't exist any longer (not in -good anyway), and others have not been
touched in many years and it seem pointless to keep them around.

Removing these files makes sure we don't have any code in our repository
that uses Gtk+ symbols which are to be removed for GNOME3, and as such
will make some script that greps for this kind of stuff give us a clean
bill of code health. Fixes #585757.

15 years agortpsirenpay: Remove deprecated symbol
Olivier Crête [Sun, 14 Jun 2009 01:02:45 +0000 (21:02 -0400)]
rtpsirenpay: Remove deprecated symbol

Patch by: Luis Menina

15 years agotests: Don't run the flacdec test if the plugin isn't built. Fixes #585630
Marvin Schmidt [Sat, 13 Jun 2009 08:43:55 +0000 (10:43 +0200)]
tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630

15 years agortspsrc: Add RTP blocksize functionality
Patrick Radizi [Fri, 12 Jun 2009 14:06:28 +0000 (16:06 +0200)]
rtspsrc: Add RTP blocksize functionality

Add property to make the client suggest a blocksize to the server.
Fixes #585549

15 years agortp: update README, fix some typos, mention gstrtpbin
Wim Taymans [Thu, 11 Jun 2009 20:30:06 +0000 (22:30 +0200)]
rtp: update README, fix some typos, mention gstrtpbin

15 years agopulsesink: handle border cases in resampler
Wim Taymans [Thu, 11 Jun 2009 17:10:53 +0000 (19:10 +0200)]
pulsesink: handle border cases in resampler

15 years agodocs: Bump common. Use upload-doc.mak instead of upload.mak
Jan Schmidt [Thu, 11 Jun 2009 12:32:22 +0000 (13:32 +0100)]
docs: Bump common. Use upload-doc.mak instead of upload.mak

Remove the local copy of upload.mak in favour of using the shared
upload-doc.make in common/

15 years agodocs: Quieten a couple more docs warnings
Jan Schmidt [Thu, 11 Jun 2009 10:39:25 +0000 (11:39 +0100)]
docs: Quieten a couple more docs warnings

15 years agodocs: Remove gtk-doc comment marker
Jan Schmidt [Thu, 11 Jun 2009 10:27:26 +0000 (11:27 +0100)]
docs: Remove gtk-doc comment marker

These comment blocks aren't gtk-doc comments and cause annoying noise in
the docs build.

15 years agodeinterlace: Implement upstream negotation
Sebastian Dröge [Thu, 11 Jun 2009 08:05:32 +0000 (10:05 +0200)]
deinterlace: Implement upstream negotation

15 years agodeinterlace: Improve debugging and clean up some code
Sebastian Dröge [Wed, 10 Jun 2009 19:47:40 +0000 (21:47 +0200)]
deinterlace: Improve debugging and clean up some code

15 years agodeinterlace: Clip buffers to the current segment if possible
Sebastian Dröge [Wed, 10 Jun 2009 12:55:18 +0000 (14:55 +0200)]
deinterlace: Clip buffers to the current segment if possible

15 years agodeinterlace: Clean up includes and clean up order of instance struct fields
Sebastian Dröge [Wed, 10 Jun 2009 12:45:06 +0000 (14:45 +0200)]
deinterlace: Clean up includes and clean up order of instance struct fields

15 years agortph263pay: Default to doing A, B and C modes, not only A
Olivier Crête [Wed, 10 Jun 2009 20:09:56 +0000 (16:09 -0400)]
rtph263pay: Default to doing A, B and C modes, not only A

15 years agodeinterlace: Fix QoS calculations
Sebastian Dröge [Wed, 10 Jun 2009 07:56:11 +0000 (09:56 +0200)]
deinterlace: Fix QoS calculations

The diff is a signed integer, not an unsigned one of course.

In modes other than GST_DEINTERLACE_ALL every frame has twice the
duration of the field duration.

15 years agortpsirenpay: Put the bitrate in the RTP caps
Olivier Crête [Tue, 9 Jun 2009 18:13:31 +0000 (14:13 -0400)]
rtpsirenpay: Put the bitrate in the RTP caps

The MS code seems to require the bitrate to interoperate and
draft-ietf-avt-rtp-g7221-00 also has it.

15 years agodeinterlace: Implement basic QoS
Sebastian Dröge [Tue, 9 Jun 2009 17:55:36 +0000 (19:55 +0200)]
deinterlace: Implement basic QoS

This change is based on Tim's QoS implementation
for jpegdec.

15 years agodeinterlace: Directly proxy events/queries to the peer pads
Sebastian Dröge [Tue, 9 Jun 2009 17:29:51 +0000 (19:29 +0200)]
deinterlace: Directly proxy events/queries to the peer pads

This removes some overhead introduced by the default handlers
that need to iterate over the other pads.

15 years agoavidemux: debug_memdump() unknown tags. Refactor junk parsing code.
Edward Hervey [Tue, 9 Jun 2009 08:38:52 +0000 (10:38 +0200)]
avidemux: debug_memdump() unknown tags. Refactor junk parsing code.

This makes life slightly easier when debugging avi files.

15 years agortp: Don't forget to dist the headers for the CELT (de)payloaders.
Edward Hervey [Mon, 8 Jun 2009 06:21:43 +0000 (08:21 +0200)]
rtp: Don't forget to dist the headers for the CELT (de)payloaders.

15 years agoRevert "Revert "qtdemux: fill timestamp table completely""
Wim Taymans [Sun, 7 Jun 2009 18:54:06 +0000 (20:54 +0200)]
Revert "Revert "qtdemux: fill timestamp table completely""

This reverts commit 9f022c8a8503c2ce0fa617fdb50e41706dd412f5.

Sorry, I was thinking about the wrong module.

15 years agoRevert "qtdemux: fill timestamp table completely"
Wim Taymans [Sun, 7 Jun 2009 18:49:50 +0000 (20:49 +0200)]
Revert "qtdemux: fill timestamp table completely"

This reverts commit 790b050fc5302cae89cddcd23b258093967d05a9.
I forgot we were frozen.

15 years agoqtdemux: fill timestamp table completely
Wim Taymans [Sun, 7 Jun 2009 18:46:45 +0000 (20:46 +0200)]
qtdemux: fill timestamp table completely

When there are less timestamps that there are samples, fill up the sample table
with the last know timestamp. This situation can happen when the last sample
does not decode and doesn't need a timestamp. We however calculate the total
track length using the last sample timestamp so we need to have something
sensible in there.

Fixes #585056

15 years agowavparse: handle LIST INFO of 0 size
Wim Taymans [Sun, 7 Jun 2009 11:37:04 +0000 (13:37 +0200)]
wavparse: handle LIST INFO of 0 size

Handle LIST INFO chunks of 0 size instead of causing errors.

Fixes #584981

15 years agoRevert "wavparse: Remove dead assignments, move variable to where it's needed."
Wim Taymans [Sun, 7 Jun 2009 11:24:45 +0000 (13:24 +0200)]
Revert "wavparse: Remove dead assignments, move variable to where it's needed."

Reverts commit 44256a78f8dd79a91f3bb2ab7c3aa623c097bb8a and use the result in
error reporting so that we can see what's going on.

15 years agoceltdepay: add CELT depayloader
Wim Taymans [Fri, 5 Jun 2009 16:55:02 +0000 (18:55 +0200)]
celtdepay: add CELT depayloader

15 years agortpceltpay: add CELT RTP payloader
Wim Taymans [Fri, 5 Jun 2009 13:30:51 +0000 (15:30 +0200)]
rtpceltpay: add CELT RTP payloader

15 years agosunaudio: Fix switch setting on some devices. Add debug. Fix a FIXME.
Jan Schmidt [Fri, 5 Jun 2009 15:54:48 +0000 (16:54 +0100)]
sunaudio: Fix switch setting on some devices. Add debug. Fix a FIXME.

Fix the setting of toggle switches on some broken audio drivers which
report that no audio ports are settable by ignoring the mod_port field
there.

Add some debug statements.

Fix a FIXME now that Good relies on a new enough gst-plugins-base.

15 years agosunaudio: Support new flags for options and actions
Jan Schmidt [Thu, 4 Jun 2009 11:27:19 +0000 (12:27 +0100)]
sunaudio: Support new flags for options and actions

Use new audio mixer flags added in Base 0.10.23 to expose flags and options
on the SunAudio devices.

Fixes: #583593
Patch By: Brian Cameron <brian.cameron@sun.com>
Patch By: Garrett D'Amore <garrett.damore@sun.com>

15 years agodeinterlace: First try to handle DVD still frames correctly
Sebastian Dröge [Fri, 15 May 2009 09:50:38 +0000 (11:50 +0200)]
deinterlace: First try to handle DVD still frames correctly

This helps a bit with bug #582740 but still doesn't make it work.

15 years agopulsesink: only notify if all checks passed
Stefan Kost [Thu, 4 Jun 2009 14:37:03 +0000 (17:37 +0300)]
pulsesink: only notify if all checks passed

Replace goto done: with return, as those are checks when we don't want to flag a
pending notify.

15 years agortspsrc: set the right state on rtpbin
Wim Taymans [Thu, 4 Jun 2009 13:19:05 +0000 (15:19 +0200)]
rtspsrc: set the right state on rtpbin

We need to set the state of gstrtpbin to the same state as our source elements.
This fixes fallback to TCP again.

15 years agopulsesink: check pointer before accessing
Stefan Kost [Wed, 3 Jun 2009 15:23:53 +0000 (18:23 +0300)]
pulsesink: check pointer before accessing

Move existing check a few lines up, so that we check before accessing fields.

15 years agopulsesink: rename gst_pulse_sink_get_time to gst_pulsesink_get_time
Stefan Kost [Wed, 3 Jun 2009 15:21:12 +0000 (18:21 +0300)]
pulsesink: rename gst_pulse_sink_get_time to gst_pulsesink_get_time

Rename internal method for consistency.

15 years agopulsesink: use values from pa_stream_get_buffer_attr()
Stefan Kost [Wed, 3 Jun 2009 15:19:22 +0000 (18:19 +0300)]
pulsesink: use values from pa_stream_get_buffer_attr()

We were putting the requested values back into ringbuffer spec, instead of
using the queried values.

15 years agovrawpay: trim output buffers
Wim Taymans [Tue, 2 Jun 2009 17:32:21 +0000 (19:32 +0200)]
vrawpay: trim output buffers

Remove the leftover unused bytes in the output buffer.
Fixes #584613

15 years agovrawdepay: fix parsing of sampling field
Wim Taymans [Tue, 2 Jun 2009 17:30:30 +0000 (19:30 +0200)]
vrawdepay: fix parsing of sampling field

commit a12d9a80f225be97b3674b1a0506ac66544dbf49 broke the parsing of the
sampling.