platform/upstream/gst-plugins-good.git
14 years agosoup: fix error messages
Tim-Philipp Müller [Sat, 11 Sep 2010 23:04:42 +0000 (00:04 +0100)]
soup: fix error messages

Error messages should be translated. URIs and filenames should not
be part of the error message string that's shown to the user.
soup_message->reason_phrase is not translated and not suitable as
error message for users (see libsoup documentation). Also fix up
error codes a bit, as far as possible with the existing codes.

14 years agojpegdec: don't post an error message if buffer alloc fails with NOT_LINKED flow
Tim-Philipp Müller [Fri, 10 Sep 2010 08:43:24 +0000 (09:43 +0100)]
jpegdec: don't post an error message if buffer alloc fails with NOT_LINKED flow

This is not fatal, let upstream handle it.

14 years agortspsrc: don't clear sdp when set as uri
Wim Taymans [Fri, 10 Sep 2010 16:06:48 +0000 (18:06 +0200)]
rtspsrc: don't clear sdp when set as uri

when we set the SDP with an uri, don't clear it when we go to READY.

14 years agortspsrc: use sdp uri parse method
Wim Taymans [Fri, 10 Sep 2010 16:01:18 +0000 (18:01 +0200)]
rtspsrc: use sdp uri parse method

Use the sdp parse method that does proper uri escaping.

14 years agoexample: add v4l2 example, demonstrating the use of gst controller
Stefan Kost [Fri, 10 Sep 2010 13:59:10 +0000 (16:59 +0300)]
example: add v4l2 example, demonstrating the use of gst controller

14 years agov4l2src: don't skip calculating the duration
Stefan Kost [Fri, 10 Sep 2010 13:55:25 +0000 (16:55 +0300)]
v4l2src: don't skip calculating the duration

14 years agov4l2src: add controlable colorbalance parameters
Stefan Kost [Tue, 22 Jun 2010 12:48:04 +0000 (15:48 +0300)]
v4l2src: add controlable colorbalance parameters

Expose colorbalance controls as object properties (like we do on xvimagesink).
Make them controlable.

14 years agortpmparobustdepay: fix some mis-implementation
Mark Nauwelaerts [Fri, 10 Sep 2010 11:25:39 +0000 (13:25 +0200)]
rtpmparobustdepay: fix some mis-implementation

Also add some debug.

14 years agortpmparobustdepay: properly insert dummy buffers
Mark Nauwelaerts [Fri, 10 Sep 2010 11:24:02 +0000 (13:24 +0200)]
rtpmparobustdepay: properly insert dummy buffers

14 years agortspsrc: add rtsp-sdp protocol support
Wim Taymans [Fri, 10 Sep 2010 09:55:26 +0000 (11:55 +0200)]
rtspsrc: add rtsp-sdp protocol support

Allow setting an SDP with the rtsp-sdp:// url.

Based on patch from Marco Ballesio.

See #628214

14 years agoalphacolor: make passthrough work.
Alessandro Decina [Fri, 10 Sep 2010 09:35:58 +0000 (11:35 +0200)]
alphacolor: make passthrough work.

14 years agomp4adepay: small logging cleanup and addition to debug config parsing
Stefan Kost [Thu, 9 Sep 2010 18:43:40 +0000 (21:43 +0300)]
mp4adepay: small logging cleanup and addition to debug config parsing

14 years agoaasink: fix context initialisation and freeing to not leak
Stefan Kost [Thu, 9 Sep 2010 18:42:46 +0000 (21:42 +0300)]
aasink: fix context initialisation and freeing to not leak

14 years agotests: allow running state tests for all elements
Stefan Kost [Thu, 9 Sep 2010 18:40:51 +0000 (21:40 +0300)]
tests: allow running state tests for all elements

Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.

14 years agotests: fix rtpjpegpay test
Wim Taymans [Thu, 9 Sep 2010 16:47:56 +0000 (18:47 +0200)]
tests: fix rtpjpegpay test

Make the data we send to the jpeg payloader be a valid jpeg file because the
payloader now expects this.

14 years agortpjpegpay: improve debugging
Wim Taymans [Thu, 9 Sep 2010 16:47:11 +0000 (18:47 +0200)]
rtpjpegpay: improve debugging

14 years agortpmparobustdepay: use valid bitrate for dummy frame
Mark Nauwelaerts [Thu, 9 Sep 2010 14:31:56 +0000 (16:31 +0200)]
rtpmparobustdepay: use valid bitrate for dummy frame

14 years agoid3v2mux: Adds mapping for album artist
Thiago Santos [Wed, 8 Sep 2010 20:07:53 +0000 (17:07 -0300)]
id3v2mux: Adds mapping for album artist

Maps GST_TAG_ALBUM_ARTIST to TPE2 in id3v2mux

14 years agoconfigure: Require orc 0.4.8
Sebastian Dröge [Wed, 8 Sep 2010 16:35:08 +0000 (18:35 +0200)]
configure: Require orc 0.4.8

The deinterlace plugin apparently fails to compile with older versions.

14 years agomatroskademux: QoS handling logic only applies to forward playback
Mark Nauwelaerts [Wed, 8 Sep 2010 15:50:11 +0000 (17:50 +0200)]
matroskademux: QoS handling logic only applies to forward playback

Fixes #628894.

14 years agopulsesink: remove unused code
Stefan Kost [Wed, 8 Sep 2010 14:43:47 +0000 (17:43 +0300)]
pulsesink: remove unused code

14 years agopulsesink: fixup last commit
Stefan Kost [Wed, 8 Sep 2010 11:36:48 +0000 (14:36 +0300)]
pulsesink: fixup last commit

We need to prevent the eventual leak better.

14 years agopulsesink: code cleanups
Stefan Kost [Wed, 8 Sep 2010 11:16:58 +0000 (14:16 +0300)]
pulsesink: code cleanups

Use g_slist_prepend as we don't care about the order. Check for list == NULL
instead of iterating the list to see if it is empty. Move ctx allocation down
to prevent leak in case of failure.

14 years agortpjpegpay: Fix uninitialized variable compiler warning
Sebastian Dröge [Wed, 8 Sep 2010 05:13:42 +0000 (07:13 +0200)]
rtpjpegpay: Fix uninitialized variable compiler warning

Fixes bug #629018.

14 years agopulsesink: simplify clock provide code
Wim Taymans [Tue, 7 Sep 2010 17:02:01 +0000 (19:02 +0200)]
pulsesink: simplify clock provide code

Don't leak the pulsesink element by having the clock keep a ref to the sink.
Create the clock only once in the constructor and use the baseaudiosink clock
cleanup code.

14 years agopulsesink: move the context table init to _get_type phase
Stefan Kost [Tue, 7 Sep 2010 14:49:05 +0000 (17:49 +0300)]
pulsesink: move the context table init to _get_type phase

This seems to fix the invalid reads on context shutdown better, altough
I can't really explain.

14 years agoqtdemux: use older g_array_free
Wim Taymans [Tue, 7 Sep 2010 15:06:02 +0000 (17:06 +0200)]
qtdemux: use older g_array_free

g_array_unref() is only since 2.22

14 years agojpegdec: avoid invalid adapter flush on QoS
Wim Taymans [Tue, 7 Sep 2010 14:49:16 +0000 (16:49 +0200)]
jpegdec: avoid invalid adapter flush on QoS

First store the available data in the adapter in the rem_img_len instance field
before trying to flush the adapter with that value on QoS.

14 years agortpjpegpay: do some more sanitity checks
Wim Taymans [Tue, 7 Sep 2010 14:40:08 +0000 (16:40 +0200)]
rtpjpegpay: do some more sanitity checks

Protect some more against invalid input.

14 years agojpegpay: handle corrupted jpeg better
American Dynamics [Tue, 7 Sep 2010 13:20:12 +0000 (15:20 +0200)]
jpegpay: handle corrupted jpeg better

Protect against corrupted jpeg input.

14 years agorvawdepay: cleanup unused fields
Wim Taymans [Tue, 7 Sep 2010 11:55:04 +0000 (13:55 +0200)]
rvawdepay: cleanup unused fields

14 years agovrawdepay: handle invalid payload better
Wim Taymans [Tue, 7 Sep 2010 11:51:37 +0000 (13:51 +0200)]
vrawdepay: handle invalid payload better

Make sure we don't read more data than available in the input buffer.
Clip the input data into the output buffer.

14 years agopulse: allow setting stream properties
Stefan Kost [Mon, 16 Aug 2010 12:35:51 +0000 (15:35 +0300)]
pulse: allow setting stream properties

Add a "properties" property to the elements to allow setting extra stream
properties.

Fixes #537544

14 years agodocs: remove introspection info for gdkpixbuf3 plugin and update version for others
Tim-Philipp Müller [Tue, 7 Sep 2010 11:08:10 +0000 (12:08 +0100)]
docs: remove introspection info for gdkpixbuf3 plugin and update version for others

The versions got accidentally reverted to a pre-release version, fix that.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 7 Sep 2010 10:42:10 +0000 (11:42 +0100)]
Automatic update of common submodule

From c2e10bf to aa0d1d0

14 years agocmmldec: fix flow return handling
Tim-Philipp Müller [Tue, 7 Sep 2010 08:20:03 +0000 (09:20 +0100)]
cmmldec: fix flow return handling

Fix buggy GST_FLOW_IS_FATAL substitution, and 'make check':
-  if (!GST_FLOW_IS_FATAL (dec->flow_return) && !dec->sent_root) {
+  if (dec->flow_return != GST_FLOW_OK && !dec->sent_root) {

14 years agopulsesink: don't free the context multiple times
Stefan Kost [Mon, 6 Sep 2010 21:27:07 +0000 (00:27 +0300)]
pulsesink: don't free the context multiple times

Apparently the close function of the ring-buffer can be called multiple times.

14 years agortpmp4adepay: grab the sampling arte and put into caps
Stefan Kost [Thu, 12 Aug 2010 09:33:06 +0000 (12:33 +0300)]
rtpmp4adepay: grab the sampling arte and put into caps

This is needed to be able to mux the received audio into mp4 (in the case of
aac). Fixes #625825.

14 years agortp: mark constant tables as const
Tim-Philipp Müller [Mon, 6 Sep 2010 13:40:02 +0000 (14:40 +0100)]
rtp: mark constant tables as const

14 years agortpamrpay: properly support perfect-rtptime
Mark Nauwelaerts [Wed, 18 Aug 2010 12:40:48 +0000 (14:40 +0200)]
rtpamrpay: properly support perfect-rtptime

14 years agortpamrpay: proper duration for multiple frame payload
Mark Nauwelaerts [Wed, 18 Aug 2010 09:42:33 +0000 (11:42 +0200)]
rtpamrpay: proper duration for multiple frame payload

14 years agortpamr(de)pay: support AMR-WB SID frame
Mark Nauwelaerts [Wed, 18 Aug 2010 09:42:07 +0000 (11:42 +0200)]
rtpamr(de)pay: support AMR-WB SID frame

14 years agortpg729pay: properly support perfect-rtptime
Mark Nauwelaerts [Wed, 18 Aug 2010 09:39:06 +0000 (11:39 +0200)]
rtpg729pay: properly support perfect-rtptime

14 years agoqtdemux: improve framerate determining
Mark Nauwelaerts [Mon, 16 Aug 2010 14:08:04 +0000 (16:08 +0200)]
qtdemux: improve framerate determining

Collect a limited number of starting sample durations and use the median of
those to determine caps framerate.

14 years agomatroskademux: attempt more resync upon (cluster) parse error
Mark Nauwelaerts [Tue, 17 Aug 2010 10:08:10 +0000 (12:08 +0200)]
matroskademux: attempt more resync upon (cluster) parse error

That is, if parse error occurs in state requiring to move to next cluster,
and doing so to the expected next position of cluster fails, then scan for a
next cluster from present position and resume from there.

Fixes #620790.

14 years agomatroskademux: not so fatal error handling
Mark Nauwelaerts [Mon, 16 Aug 2010 14:05:41 +0000 (16:05 +0200)]
matroskademux: not so fatal error handling

If some bits out of place in block(group) parsing, forego and move to next.
Also skip large blocks in pull mode, but need to give up in push mode.

Fixes #626463.
Improves #620790.

14 years agomatroskademux: additional parse recovery
Mark Nauwelaerts [Mon, 26 Jul 2010 13:51:49 +0000 (15:51 +0200)]
matroskademux: additional parse recovery

In particular, upon parse failure in one cluster, we may forego remaining
content and try resuming from next cluster onwards.

Fixes #620790.

14 years agortspsrc: Add property to configure udpsrc buffer size
American Dynamics [Mon, 6 Sep 2010 10:22:11 +0000 (12:22 +0200)]
rtspsrc: Add property to configure udpsrc buffer size

Add a new udp-buffer-size property to configure the buffer-size on the udpsrc
elements.

Fixes #628058

14 years agortpbin: add ntp-sync property
Wim Taymans [Fri, 27 Aug 2010 15:58:47 +0000 (17:58 +0200)]
rtpbin: add ntp-sync property

Add an ntp-sync property that will sync the received streams to the server
NTP time. This requires synchronized NTP times between the sender and receivers,
like with ntpd.

Based on patch from Thijs Vermeir.

Fixes #627796

14 years agojitterbuffer: rename a variable to avoid confusion
Wim Taymans [Fri, 27 Aug 2010 10:14:25 +0000 (12:14 +0200)]
jitterbuffer: rename a variable to avoid confusion

14 years agortpbin: rename some variables for less confusion
Wim Taymans [Fri, 27 Aug 2010 09:07:34 +0000 (11:07 +0200)]
rtpbin: rename some variables for less confusion

14 years agortpjitterbuffer: move comment where it belongs
Wim Taymans [Fri, 27 Aug 2010 08:41:01 +0000 (10:41 +0200)]
rtpjitterbuffer: move comment where it belongs

14 years agosession: minor cleanups
Wim Taymans [Thu, 26 Aug 2010 14:00:38 +0000 (16:00 +0200)]
session: minor cleanups

Make clock snapshots more accurate by only sampling the same clock once.

14 years agortpbin: add use-pipeline-clock property
Thijs Vermeir [Thu, 26 Aug 2010 08:58:26 +0000 (10:58 +0200)]
rtpbin: add use-pipeline-clock property

With this property RTCP SR NTP times can be based
on the system clock (maybe synced with ntpd) or the
current pipeline clock.

https://bugzilla.gnome.org/show_bug.cgi?id=627796

14 years agortspext: stop configuration on first failure
Wim Taymans [Wed, 25 Aug 2010 07:58:20 +0000 (09:58 +0200)]
rtspext: stop configuration on first failure

Stop the configuration of a stream as soon as some of the extensions return
FALSE.

Fixes #581294

14 years agomultifdsink: use refcount to count host/port duplicates
Wim Taymans [Fri, 20 Aug 2010 13:35:27 +0000 (15:35 +0200)]
multifdsink: use refcount to count host/port duplicates

Instead of adding multiple client structures for the same host/port pair, use a
refcount.
Add a send-duplicates feature that allows you to disable sending multiple copies
of the same packet to the same host when it was added multiple times. The
send-duplicates property is by default set to TRUE for backwards compatibility
although it is very likely that this is not desired behaviour.

14 years agortspsrc: implement custom event handler
Wim Taymans [Thu, 19 Aug 2010 15:06:26 +0000 (17:06 +0200)]
rtspsrc: implement custom event handler

Extend the _push_event() function so that it can also send events to the udp
sources when asked.
Implement a custum send_event function that correctly dispatches the downstream
events in TCP mode. This fixes sending EOS to rtspsrc and have it push the EOS
downstream.

14 years agopulsesrc: use _get_caps_reffed() when we can
Wim Taymans [Thu, 19 Aug 2010 09:37:04 +0000 (11:37 +0200)]
pulsesrc: use _get_caps_reffed() when we can

Use _get_caps_reffed()
Add some more debug when opening the server connection.

14 years agojpegdepay: handle DISCONT and reset state
Wim Taymans [Mon, 16 Aug 2010 09:29:07 +0000 (11:29 +0200)]
jpegdepay: handle DISCONT and reset state

Put a DISCONT event on the next output buffer when the input buffer had a
DISCONT.
Make sure we clear our adapter and reset our state before going to PAUSED.
Free the qtables.

Fixes #626869

14 years agog729pay: extend from right parent
Wim Taymans [Mon, 16 Aug 2010 09:27:53 +0000 (11:27 +0200)]
g729pay: extend from right parent

14 years agopulsesink: add since docs for new property.
Stefan Kost [Mon, 6 Sep 2010 06:57:10 +0000 (09:57 +0300)]
pulsesink: add since docs for new property.

14 years agoqtdemux: use GST_BOILERPLATE macro
Stefan Kost [Mon, 30 Aug 2010 13:45:48 +0000 (16:45 +0300)]
qtdemux: use GST_BOILERPLATE macro

14 years agovidemixer: add a example showing how to use the child properties
Stefan Kost [Mon, 16 Aug 2010 14:23:58 +0000 (17:23 +0300)]
videmixer: add a example showing how to use the child properties

Show how to position and set the alpho of the videos on gst-launch.

14 years agopulsesrc: move the property-setter to the getter.
Stefan Kost [Mon, 16 Aug 2010 12:19:38 +0000 (15:19 +0300)]
pulsesrc: move the property-setter to the getter.

14 years agospectrum only aggregate magnitude/phase if user asks for it
Stefan Kost [Wed, 11 Aug 2010 12:48:18 +0000 (15:48 +0300)]
spectrum only aggregate magnitude/phase if user asks for it

14 years agospectrum: improve performance with local vars
Stefan Kost [Wed, 11 Aug 2010 12:45:56 +0000 (15:45 +0300)]
spectrum: improve performance with local vars

Use 'input' instead of 'spectrum->input' which was intende already (variable
exists, but not used everywhere). Also use a local version of
'spectrum->input_pos'.

14 years agospectrum: code cleanup
Stefan Kost [Wed, 11 Aug 2010 12:44:03 +0000 (15:44 +0300)]
spectrum: code cleanup

More comments and logging. Extract one complex condition to a variable. Reorder
some code for readability.

14 years agospectrum: improve property setter
Stefan Kost [Wed, 11 Aug 2010 12:40:09 +0000 (15:40 +0300)]
spectrum: improve property setter

consistently only update if the property actualy changed the value. Do it
without reading the gvalue twice. No need to reset the spectrum analyzer for
threshold changes.

14 years agospectrum: add helper to only flush ringbuffer data without resetting the fft
Stefan Kost [Wed, 11 Aug 2010 12:38:24 +0000 (15:38 +0300)]
spectrum: add helper to only flush ringbuffer data without resetting the fft

Reduces some duplicated code as well.

14 years agospectrum: more comments
Stefan Kost [Wed, 11 Aug 2010 09:45:53 +0000 (12:45 +0300)]
spectrum: more comments

14 years agodeinterlace: Document methods with bad quality
David Schleef [Mon, 6 Sep 2010 05:22:42 +0000 (22:22 -0700)]
deinterlace: Document methods with bad quality

14 years agodeinterlace: initialize all deinterlace class members
David Schleef [Mon, 6 Sep 2010 05:19:56 +0000 (22:19 -0700)]
deinterlace: initialize all deinterlace class members

This fixes UYVY deinterlacing.

14 years agoAutomatic update of common submodule
David Schleef [Mon, 6 Sep 2010 01:58:13 +0000 (18:58 -0700)]
Automatic update of common submodule

From d3d9acf to c2e10bf

14 years agovideomixer: orc_init() doesn't need to be called
David Schleef [Mon, 6 Sep 2010 01:45:21 +0000 (18:45 -0700)]
videomixer: orc_init() doesn't need to be called

There's no need to call orc_init() unless you're using the Orc
API directly.  All code created by orcc is guaranteed to work
without calling orc_init().

14 years agodeinterlace: Fix greedyl Orc implementation
David Schleef [Mon, 6 Sep 2010 01:40:48 +0000 (18:40 -0700)]
deinterlace: Fix greedyl Orc implementation

To agree with the previous C/asm code.

14 years agovideomixer2: Fail when caps are incompatible
Thiago Santos [Mon, 6 Sep 2010 01:31:34 +0000 (22:31 -0300)]
videomixer2: Fail when caps are incompatible

Do not forget to return false when caps are incompatible.

14 years agovideomixer: Only init orc if it is available
Thiago Santos [Sun, 5 Sep 2010 23:56:52 +0000 (20:56 -0300)]
videomixer: Only init orc if it is available

Put some ifdef around orc_init to prevent build errors

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 5 Sep 2010 10:17:08 +0000 (12:17 +0200)]
Automatic update of common submodule

From ec60217 to d3d9acf

14 years agodeinterlace: Update disted Orc files
David Schleef [Sat, 4 Sep 2010 19:46:31 +0000 (12:46 -0700)]
deinterlace: Update disted Orc files

14 years agov4l2src: add decimate property
David Schleef [Mon, 29 Jun 2009 18:43:07 +0000 (11:43 -0700)]
v4l2src: add decimate property

14 years agodvdemux: Parse SMPTE time codes
David Schleef [Fri, 4 Jun 2010 19:09:23 +0000 (12:09 -0700)]
dvdemux: Parse SMPTE time codes

14 years agodeinterlace: remove assembly code in favor of orc
David Schleef [Mon, 23 Aug 2010 09:50:36 +0000 (02:50 -0700)]
deinterlace: remove assembly code in favor of orc

14 years agodeinterlace: implement greedy in Orc
David Schleef [Tue, 8 Jun 2010 21:54:49 +0000 (14:54 -0700)]
deinterlace: implement greedy in Orc

14 years agoupdate disted Orc files
David Schleef [Sat, 4 Sep 2010 18:43:21 +0000 (11:43 -0700)]
update disted Orc files

14 years agoalphacolor: Fix classification
Thibault Saunier [Thu, 2 Sep 2010 12:34:50 +0000 (14:34 +0200)]
alphacolor: Fix classification

This is no effect but a converter. Fixes bug #628608.

14 years agovideomixer2: Add documentation and add to the docs
Sebastian Dröge [Thu, 2 Sep 2010 09:19:06 +0000 (11:19 +0200)]
videomixer2: Add documentation and add to the docs

14 years agovideomixer2: Add videomixer2 element
Sebastian Dröge [Mon, 26 Jul 2010 14:07:15 +0000 (16:07 +0200)]
videomixer2: Add videomixer2 element

This is based on collectpads2 and is synchronizing
all streams based on the running time.

New features compared to old videomixer:
 * Synchronizing frames on the running time
 * Improved and simplified negotiation
 * Full QoS support
 * Variable framerate support

Fixes bug #626048, #624905.

14 years agomatroskademux: Relax parsing of date tags
Pavel Kostyuchenko [Wed, 1 Sep 2010 09:11:34 +0000 (11:11 +0200)]
matroskademux: Relax parsing of date tags

Before we required a complete date in matroskademux but in
id3demux for example only the year or year and month was possible too.

Fixes bug #628454.

14 years agov4l2src: Use GstBaseSrc::block-size as fallback size
Sjoerd Simons [Mon, 30 Aug 2010 18:03:52 +0000 (19:03 +0100)]
v4l2src: Use GstBaseSrc::block-size as fallback size

14 years agov4l2src: Fix using mpegts via the mmap interface
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.

14 years agowavpackparse: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 16:15:03 +0000 (18:15 +0200)]
wavpackparse: Don't use GST_FLOW_IS_FATAL()

14 years agopngdec: 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.

14 years agodvdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 16:09:11 +0000 (18:09 +0200)]
dvdemux: Don't use GST_FLOW_IS_FATAL()

14 years agojpegdec: 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.

14 years agoflacenc/dec: Don't use GST_FLOW_IS_FATAL()
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.

14 years agocmmldec/enc: Don't use GST_FLOW_IS_FATAL()
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.

14 years agowavparse: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:47:22 +0000 (17:47 +0200)]
wavparse: Don't use GST_FLOW_IS_FATAL()

14 years agortspsrc: Don't use GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS()
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()

14 years agoqtdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:39:32 +0000 (17:39 +0200)]
qtdemux: Don't use GST_FLOW_IS_FATAL()

14 years agomatroskademux: 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()