platform/upstream/gst-plugins-good.git
15 years agoflacdec: don't use pad_alloc when decoding while seeking. Fixes #579422
Thomas Vander Stichele [Sat, 18 Apr 2009 16:00:54 +0000 (18:00 +0200)]
flacdec: don't use pad_alloc when decoding while seeking. Fixes #579422

15 years agojpegdec: refactored gst_jpeg_dec_parse_image_data
Arnout Vandecappelle [Wed, 6 May 2009 11:22:51 +0000 (13:22 +0200)]
jpegdec: refactored gst_jpeg_dec_parse_image_data

Fixes #579808

15 years agojpegdec: support additional 0xff before end marker.
Arnout Vandecappelle [Wed, 6 May 2009 11:11:53 +0000 (13:11 +0200)]
jpegdec: support additional 0xff before end marker.

JPEG markers may be preceded by additional 0xff.  jpegdec should
skip over these, even before the end marker.
See #579808

15 years agortpjpegpay: handle input with 1 quant table
Wim Taymans [Wed, 6 May 2009 10:54:22 +0000 (12:54 +0200)]
rtpjpegpay: handle input with 1 quant table

Also handle input with just one quant table, simply duplicate the quant table.
Handle invalid SOF correctly and some small cleanups.
Fixes #578257

15 years agoqtdemux: fix byte order swapping in 3GPP classification entity tag
Marco Ballesio [Wed, 29 Apr 2009 12:58:10 +0000 (15:58 +0300)]
qtdemux: fix byte order swapping in 3GPP classification entity tag

Fixes #580746.

15 years agomultipartdemux: avoid reading from inavlid memory
Arnout Vandecappelle [Tue, 5 May 2009 15:07:13 +0000 (17:07 +0200)]
multipartdemux: avoid reading from inavlid memory

Read the timestamp of the incomming buffer before we push it in the adapter and
flush it out again as the buffer might be unreffed then and we read from invalid
memory.
Fixes #581444.

15 years agomultipartdemux: don't leak dynamic pads
Arnout Vandecappelle [Tue, 5 May 2009 15:03:29 +0000 (17:03 +0200)]
multipartdemux: don't leak dynamic pads

Free the dynamic pads data in finalize.
Fixes #581432

15 years agortpjpegpay: correctly set the type header
Wim Taymans [Tue, 5 May 2009 14:32:17 +0000 (16:32 +0200)]
rtpjpegpay: correctly set the type header

Don't require width/height on the caps. Use the SOF header to find width/height
and fall back to the caps if there is no SOF. Also use the SOF info to find the
subsampling and quantization tables used. This allows us to set the right type
value in the JPEG rtp header.

Deprecate the quality property, it's unused now and it was used wrongly before.

Always send full quant tables for now until we have some code to detect default
ones.

Fixes #580880

15 years agortpjpegdepay: use width/height from payload
Wim Taymans [Tue, 5 May 2009 14:28:44 +0000 (16:28 +0200)]
rtpjpegdepay: use width/height from payload

Use the width and the height from the payload headers and set them on the
output caps for added awesomeness.

Fix quant parsing, we need to check the type in the lower 6 bits.

Add first bits of caching quantization tables.

15 years agojpegenc: set colorspace before _set_defaults()
Wim Taymans [Tue, 5 May 2009 14:24:16 +0000 (16:24 +0200)]
jpegenc: set colorspace before _set_defaults()

The libjpeg api says that we need to set the colorspace before we call
_set_defaults(). Indeed, if we don't do that we end up with some very freaky
non-standard quant table and huffman table indexes.

15 years agotests: don't build examples if --disable-examples was passed to configure
Tim-Philipp Müller [Tue, 5 May 2009 12:19:19 +0000 (13:19 +0100)]
tests: don't build examples if --disable-examples was passed to configure

15 years agoconfigure: clean up mess around gtk+ checking
Tim-Philipp Müller [Tue, 5 May 2009 11:33:57 +0000 (12:33 +0100)]
configure: clean up mess around gtk+ checking

And don't check for gtk+ when it's not needed (ie. if examples are disabled)

15 years agoconfigure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+
Tim-Philipp Müller [Tue, 5 May 2009 11:27:21 +0000 (12:27 +0100)]
configure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+

15 years agortspsrc: Fix find_stream_by_* functions
Wim Taymans [Mon, 4 May 2009 16:55:12 +0000 (18:55 +0200)]
rtspsrc: Fix find_stream_by_* functions

Fix various version of find_stream_by_* by not trying to convert an int to a
pointer and vice versa, for portability reasons.

Fixes #581333

15 years agortspsrc: fix dummy nat packet logic
Chris Winter [Mon, 4 May 2009 16:32:05 +0000 (18:32 +0200)]
rtspsrc: fix dummy nat packet logic

Fix a typo in the dummy NAT packet sending code.

Fixes #581329

15 years agortspsrc: avoid errors after server eof
Mark Nauwelaerts [Thu, 30 Apr 2009 08:24:27 +0000 (10:24 +0200)]
rtspsrc: avoid errors after server eof

Server eof (e.g. connection closed) is announced as connection closed,
so better record state and act accordingly to prevent (read/write)
errors during subsequent teardown/cleanup sequences.  #Fixes 580851.(c).

15 years agortspsrc: also set base_time on src after flush
Mark Nauwelaerts [Thu, 30 Apr 2009 08:19:27 +0000 (10:19 +0200)]
rtspsrc: also set base_time on src after flush

timestamps following flush/seek should be consistent between
UDP and TCP interleaved case.  Fixes #580851.(b).

15 years agortspsrc: sanity checks on range info
Mark Nauwelaerts [Thu, 30 Apr 2009 08:17:23 +0000 (10:17 +0200)]
rtspsrc: sanity checks on range info

A max range that overflows should not be trusted,
nor should a max range that equals the min range.
Fixes #580851.(a).

15 years agortspsrc: use SKIP flag to use SCALE headers
Wim Taymans [Mon, 4 May 2009 14:16:54 +0000 (16:16 +0200)]
rtspsrc: use SKIP flag to use SCALE headers

We can use the SKIP seek flag to instruct the server to send data faster then
normal but with the same bandwidth.
Fixes #537609

15 years agospeexdec: make speex_dec_convert work with same-format values when no data has been...
Alessandro Decina [Mon, 4 May 2009 12:19:22 +0000 (14:19 +0200)]
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.

15 years agoflac: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:43:42 +0000 (12:43 +0200)]
flac: Implement preset interface

15 years agospeex: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:41:56 +0000 (12:41 +0200)]
speex: Implement preset interface

15 years agowavpack: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:40:12 +0000 (12:40 +0200)]
wavpack: Implement preset interface

15 years agoqtdemux: use binary search for index
Wim Taymans [Mon, 4 May 2009 10:35:19 +0000 (12:35 +0200)]
qtdemux: use binary search for index

Use the new binary search method for finding the right index entry faster.

15 years agovideobox: draw the complete U and V planes
Wim Taymans [Mon, 4 May 2009 09:26:56 +0000 (11:26 +0200)]
videobox: draw the complete U and V planes

Round up the scaled U and V width and height so that we always draw the correct
amount of pixels to fill the complete image.

Fixes #569611

15 years agoqtdemux: add some more micro optimisations
Wim Taymans [Fri, 1 May 2009 17:35:11 +0000 (19:35 +0200)]
qtdemux: add some more micro optimisations

15 years agoqtdemux: micro optimize qtdemux a little
Wim Taymans [Thu, 30 Apr 2009 16:41:44 +0000 (18:41 +0200)]
qtdemux: micro optimize qtdemux a little

Sprinkle some G_LIKELY around.

Avoid traversing and dumping the tree when debugging is not activated.

15 years agoqtdemux: add support for subtitle pictures
Wim Taymans [Thu, 30 Apr 2009 12:22:27 +0000 (14:22 +0200)]
qtdemux: add support for subtitle pictures

Add support for subtitle pictures.
Fixes #568278.

15 years agopulsesink: make sure we always signal waiters
Wim Taymans [Thu, 30 Apr 2009 08:32:39 +0000 (10:32 +0200)]
pulsesink: make sure we always signal waiters

Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.

15 years agortspsrc: release state lock before stopping task
Wim Taymans [Wed, 29 Apr 2009 16:09:07 +0000 (18:09 +0200)]
rtspsrc: release state lock before stopping task

We need to release the state lock before trying to wait for the task to end
because the task might also take the lock.

Fixes #577671

15 years agoqtdemux: handle ac-3 audio
Hans de Goede [Wed, 29 Apr 2009 10:19:27 +0000 (12:19 +0200)]
qtdemux: handle ac-3 audio

fix demuxing of m4v streams with ac-3 audio
Fixes #580554

15 years agoflacenc: Use the tag merge mode that was set on the interface for merging tag events
Sebastian Dröge [Wed, 29 Apr 2009 09:12:36 +0000 (11:12 +0200)]
flacenc: Use the tag merge mode that was set on the interface for merging tag events

15 years agoudpsrc: fix getaddrinfo error reporting
Wim Taymans [Sat, 25 Apr 2009 07:43:38 +0000 (09:43 +0200)]
udpsrc: fix getaddrinfo error reporting

getaddrinfo errors should be reported with gai_strerror instead of errno as
spotted by MikeS.

15 years agog726pay: fix compilation
Wim Taymans [Mon, 27 Apr 2009 08:08:39 +0000 (10:08 +0200)]
g726pay: fix compilation

15 years agog726pay: add RFC compliant packetizing
Wim Taymans [Mon, 27 Apr 2009 08:02:06 +0000 (10:02 +0200)]
g726pay: add RFC compliant packetizing

Shuffle the input bits according to RFC 3551 for G726 payloads.
Add option to force the previous behaviour.

Fixes #567140

15 years agog726depay: add debug category
Wim Taymans [Mon, 27 Apr 2009 07:59:54 +0000 (09:59 +0200)]
g726depay: add debug category

Add a debugging category, add some comments and remove _peek_parent().

15 years agoid3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification
Tim-Philipp Müller [Sun, 26 Apr 2009 14:59:50 +0000 (15:59 +0100)]
id3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification

Bump taglib requirement.

15 years agoid3demux: add unit test file for unsynced id3 tags
Tim-Philipp Müller [Fri, 24 Apr 2009 01:11:28 +0000 (02:11 +0100)]
id3demux: add unit test file for unsynced id3 tags

15 years agoid3demux: parse unsynchronised tags properly
Tim-Philipp Müller [Fri, 24 Apr 2009 00:51:35 +0000 (01:51 +0100)]
id3demux: parse unsynchronised tags properly

We didn't handle unsynchronization at all up to now, which might have
caused frames to not be extracted - esp. frames after an APIC picture
frame. Fixes #577468.

15 years agoid3demux: pass the right size value for size of all frames to the parser
Tim-Philipp Müller [Fri, 24 Apr 2009 00:01:53 +0000 (01:01 +0100)]
id3demux: pass the right size value for size of all frames to the parser

Frame data size is tag size adjusted for size of the tag header and
footer, not tag size including header and footer.

15 years agortspsrc: fix some more pad leaks
Patrick Radizi [Wed, 22 Apr 2009 13:24:55 +0000 (15:24 +0200)]
rtspsrc: fix some more pad leaks

Fix some pad leaks.
See #577318.

15 years agoAutomatic update of common submodule
Jan Schmidt [Tue, 21 Apr 2009 21:12:45 +0000 (22:12 +0100)]
Automatic update of common submodule

From b3941ea to 6ab11d1

15 years agoqtdemux: override caps based on data from ESDS atoms in mpeg4.
Michael Smith [Tue, 21 Apr 2009 21:02:01 +0000 (14:02 -0700)]
qtdemux: override caps based on data from ESDS atoms in mpeg4.

If the codec is actually something else (e.g. mjpeg) change the caps to
match when parsing the ESDS atom.
Also, for AAC, override rate and channels with correct values read from
ESDS, since the rate/channels values elsewhere are often wrong.

15 years agojpegdec: fix warning for still images by not trying to divide by 0
Tim-Philipp Müller [Mon, 20 Apr 2009 18:32:00 +0000 (19:32 +0100)]
jpegdec: fix warning for still images by not trying to divide by 0

Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)

15 years agoudp: Fix a simple typo in the previous commit
Jan Schmidt [Mon, 20 Apr 2009 16:25:34 +0000 (17:25 +0100)]
udp: Fix a simple typo in the previous commit

Use #ifdef instead of #if, to fix the build

15 years agofix format string in pngdec
Andy Wingo [Mon, 20 Apr 2009 13:48:21 +0000 (15:48 +0200)]
fix format string in pngdec

* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.

15 years agoonly use struct ip_mreqn if it is detected
Andy Wingo [Mon, 20 Apr 2009 13:46:03 +0000 (15:46 +0200)]
only use struct ip_mreqn if it is detected

* configure.ac: Make an explicit check for struct ip_mreqn.

* gst/udp/gstudpnetutils.c: Use HAVE_IP_MREQN instead of the ad-hoc checks.

15 years agoFix push mode buffering sanity check to actually fit the description.
Mark Nauwelaerts [Mon, 20 Apr 2009 11:45:32 +0000 (13:45 +0200)]
Fix push mode buffering sanity check to actually fit the description.

15 years agortph263pay: And let's not forget to remove the unused variable.
Edward Hervey [Sat, 18 Apr 2009 17:11:06 +0000 (19:11 +0200)]
rtph263pay: And let's not forget to remove the unused variable.

15 years agortph263pay: Remove dead assignments, the variables are never read after.
Edward Hervey [Sat, 18 Apr 2009 16:50:32 +0000 (18:50 +0200)]
rtph263pay: Remove dead assignments, the variables are never read after.

15 years agortpmp4vpay: Remove dead assignment. The value is never read after.
Edward Hervey [Sat, 18 Apr 2009 16:49:49 +0000 (18:49 +0200)]
rtpmp4vpay: Remove dead assignment. The value is never read after.

15 years agortspsrc: Remove dead assignment.
Edward Hervey [Sat, 18 Apr 2009 16:48:55 +0000 (18:48 +0200)]
rtspsrc: Remove dead assignment.

t is being overwritten after, before it's used.

15 years agortpamrdepay: Remove unneeded variable, the value is only read once.
Edward Hervey [Sat, 18 Apr 2009 16:48:06 +0000 (18:48 +0200)]
rtpamrdepay: Remove unneeded variable, the value is only read once.

15 years agortpamrpay: Remove unneeded variable, the value is only read once.
Edward Hervey [Sat, 18 Apr 2009 16:47:05 +0000 (18:47 +0200)]
rtpamrpay: Remove unneeded variable, the value is only read once.

15 years agogoom/filters: Remove dead assignment. Value overwritten just after.
Edward Hervey [Sat, 18 Apr 2009 16:46:12 +0000 (18:46 +0200)]
goom/filters: Remove dead assignment. Value overwritten just after.

15 years agortpvorbispay: Remove dead assignment. Value never read after.
Edward Hervey [Sat, 18 Apr 2009 16:45:32 +0000 (18:45 +0200)]
rtpvorbispay: Remove dead assignment. Value never read after.

15 years agortptheorapay: Remove dead assignment. Value never read after.
Edward Hervey [Sat, 18 Apr 2009 16:45:07 +0000 (18:45 +0200)]
rtptheorapay: Remove dead assignment. Value never read after.

15 years agortptheoradepay: Remove unused variable, it's never being read.
Edward Hervey [Sat, 18 Apr 2009 16:43:31 +0000 (18:43 +0200)]
rtptheoradepay: Remove unused variable, it's never being read.

15 years agortspsrc: Remove dead assignment. 'res' isn't read after.
Edward Hervey [Sat, 18 Apr 2009 16:42:45 +0000 (18:42 +0200)]
rtspsrc: Remove dead assignment. 'res' isn't read after.

15 years agortspsrc: Remove unused variable. 'res' is never read.
Edward Hervey [Sat, 18 Apr 2009 16:41:58 +0000 (18:41 +0200)]
rtspsrc: Remove unused variable. 'res' is never read.

15 years agortspsrc: Remove dead variable. 'stream' is never read after.
Edward Hervey [Sat, 18 Apr 2009 16:40:48 +0000 (18:40 +0200)]
rtspsrc: Remove dead variable. 'stream' is never read after.

15 years agovidebox: Remove dead assignments.
Edward Hervey [Sat, 18 Apr 2009 16:39:48 +0000 (18:39 +0200)]
videbox: Remove dead assignments.

These variables are never read after this point.

15 years agogoom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
Edward Hervey [Sat, 18 Apr 2009 16:38:29 +0000 (18:38 +0200)]
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.

15 years agowavparse: Remove dead assignment.
Edward Hervey [Sat, 18 Apr 2009 16:34:11 +0000 (18:34 +0200)]
wavparse: Remove dead assignment.

res isn't read after this.

15 years agowavparse: Remove dead assignments, move variable to where it's needed.
Edward Hervey [Sat, 18 Apr 2009 16:32:03 +0000 (18:32 +0200)]
wavparse: Remove dead assignments, move variable to where it's needed.

The header_read_error label will return GST_FLOW_ERROR

15 years agortpvrawdepay: Remove dead assignment.
Edward Hervey [Sat, 18 Apr 2009 16:21:22 +0000 (18:21 +0200)]
rtpvrawdepay: Remove dead assignment.

The value of 'str' will never be used in these cases.

15 years agomatroskademux: Remove useless variable.
Edward Hervey [Sat, 18 Apr 2009 16:19:12 +0000 (18:19 +0200)]
matroskademux: Remove useless variable.

iret was never read outside of that loop, and is always being exited if
iret was != GST_FLOW_OK anyway.

15 years agoavidemux: Move 'res' to where it's actually being used.
Edward Hervey [Sat, 18 Apr 2009 16:17:35 +0000 (18:17 +0200)]
avidemux: Move 'res' to where it's actually being used.

res was never used outside of that block except for a dead assignment.

15 years agoaudiofx: Remove unused variable.
Edward Hervey [Sat, 18 Apr 2009 16:16:33 +0000 (18:16 +0200)]
audiofx: Remove unused variable.

rz is never used in these methods.

15 years agoosxringbuffer: Run gst-indent.
Edward Hervey [Sat, 18 Apr 2009 16:15:39 +0000 (18:15 +0200)]
osxringbuffer: Run gst-indent.

15 years agoximage: Remove dead assignments.
Edward Hervey [Sat, 18 Apr 2009 16:14:49 +0000 (18:14 +0200)]
ximage: Remove dead assignments.

Those variables are not read after that point.

15 years agoRemove trivial unused variables detected by CLang static analyzer.
Edward Hervey [Sat, 18 Apr 2009 16:11:00 +0000 (18:11 +0200)]
Remove trivial unused variables detected by CLang static analyzer.

15 years agoRemove blank {set|get}_property/change_state/finalize methods.
Edward Hervey [Sat, 18 Apr 2009 15:52:00 +0000 (17:52 +0200)]
Remove blank {set|get}_property/change_state/finalize methods.

15 years agoRemove unused variables in _class_init
Edward Hervey [Sat, 18 Apr 2009 15:42:55 +0000 (17:42 +0200)]
Remove unused variables in _class_init

Detected by LLVM's CLang static analyzer

15 years agocheck: Check whether threads are already initialised before g_thread_init()
Jan Schmidt [Sat, 18 Apr 2009 12:54:08 +0000 (13:54 +0100)]
check: Check whether threads are already initialised before g_thread_init()

15 years agortspsrc: mark discont on the streams as was said the debug line
Josep Torra [Sat, 18 Apr 2009 12:32:40 +0000 (14:32 +0200)]
rtspsrc: mark discont on the streams as was said the debug line

After a seek mark all streams with discont as it was said in the debug line.
Fixes that buffers after a seek are generated without a valid timestamp.

15 years agortspsrc: map GST_RTSP_EEOF to EOS on server requests
Josep Torra [Sat, 18 Apr 2009 06:45:18 +0000 (08:45 +0200)]
rtspsrc: map GST_RTSP_EEOF to EOS on server requests

Permit properly handle the EOS condition when server report it in a request.

15 years agortptheoradepay: Fix build on macosx.
Edward Hervey [Sat, 18 Apr 2009 06:39:57 +0000 (08:39 +0200)]
rtptheoradepay: Fix build on macosx.

Use G_GSIZE_FORMAT instead of u.

15 years agopulsesink: fix sample offset calculation again
Wim Taymans [Thu, 16 Apr 2009 20:50:59 +0000 (22:50 +0200)]
pulsesink: fix sample offset calculation again

15 years agosunaudio: fix broken indentation of variable declarations
Tim-Philipp Müller [Wed, 15 Apr 2009 18:32:18 +0000 (19:32 +0100)]
sunaudio: fix broken indentation of variable declarations

15 years agosunaudio: remove some unused variables and goto labels
James Andrewartha [Wed, 15 Apr 2009 18:28:53 +0000 (19:28 +0100)]
sunaudio: remove some unused variables and goto labels

Fixes #579070.

15 years agortph263pay: fix compilation on big-endian
James Andrewartha [Wed, 15 Apr 2009 17:24:49 +0000 (19:24 +0200)]
rtph263pay: fix compilation on big-endian

Some semicolons were missing from the big-endian structs in gstrtph263pay.h.
A GST_DEBUG call was missing a format specifier.

Fixes #579069

15 years agoqtdemux: implement 3GPP (TS 26.244 V8.0.0) Asset metadata handling, Fixes #132193
Marco Ballesio [Wed, 15 Apr 2009 17:10:04 +0000 (20:10 +0300)]
qtdemux: implement 3GPP (TS 26.244 V8.0.0) Asset metadata handling, Fixes #132193

Implements 3gpp iso metadata tags which are different from mov udta atoms.

15 years agodebugutils: Use G_BEGIN_DECLS/G_END_DECLS.
Peter Kjellerstedt [Wed, 15 Apr 2009 13:51:24 +0000 (15:51 +0200)]
debugutils: Use G_BEGIN_DECLS/G_END_DECLS.

Use G_BEGIN_DECLS/G_END_DECLS to avoid gst-indent messing up the
indentation due to extern "C" { }.

15 years agodebug: rename debug to debugutils to avoid clash with --disable-debug. Fixes #562168
Stefan Kost [Wed, 15 Apr 2009 13:03:27 +0000 (16:03 +0300)]
debug: rename debug to debugutils to avoid clash with --disable-debug. Fixes #562168

15 years agodebug: indent before renaming
Stefan Kost [Wed, 15 Apr 2009 12:43:04 +0000 (15:43 +0300)]
debug: indent before renaming

15 years agog726depay: add property for aal2 force
Wim Taymans [Wed, 15 Apr 2009 12:07:57 +0000 (14:07 +0200)]
g726depay: add property for aal2 force

15 years agog726depay: implement RFC3551 packing
Wim Taymans [Wed, 15 Apr 2009 11:56:17 +0000 (13:56 +0200)]
g726depay: implement RFC3551 packing

We implemented the AAL2 packing, add the encoding-name for those to the caps and
a property to force AAL2 decoding (always TRUE for now).
Implement RFC3551 unpacking for regular G726.
See #567140.

15 years agortph263pay: fix build
Wim Taymans [Tue, 14 Apr 2009 22:22:43 +0000 (00:22 +0200)]
rtph263pay: fix build

15 years agoh263pay: various fixes
Youness Alaoui [Tue, 14 Apr 2009 16:52:48 +0000 (18:52 +0200)]
h263pay: various fixes

Re-enable mode A support and a property to control it.
Fix memory leak of GstRtpH263PayBoundry objects.
Fix marker.
Fixes #509311

15 years agoh263pay: Fix the payloader
Janin Kolenc [Tue, 14 Apr 2009 16:44:51 +0000 (18:44 +0200)]
h263pay: Fix the payloader

Fix the H263 payloader to be more RFC 2190 compliant.
See #509311

15 years agoavidemux: don't push EOS in streaming mode
Wim Taymans [Tue, 14 Apr 2009 15:27:05 +0000 (17:27 +0200)]
avidemux: don't push EOS in streaming mode

In streaming mode, avidemux is not supposed to send an EOS event downstream but
it is supposed to return UNEXPECTED from the chain function instead so that
upstream can do the right EOS handling.

15 years agoAdd initial support for muxing/demuxing Speex audio
Sebastian Dröge [Mon, 13 Apr 2009 12:03:03 +0000 (14:03 +0200)]
Add initial support for muxing/demuxing Speex audio

Note: This is not in the Matroska spec yet
Fixes bug #578310.

15 years agopulsesink: handle NULL timing info
Wim Taymans [Fri, 10 Apr 2009 19:31:06 +0000 (21:31 +0200)]
pulsesink: handle NULL timing info

Don't crash when the timing info is not yet available.

15 years agopulse: make it work on 0.9.12
Stefan Kost [Fri, 10 Apr 2009 18:42:13 +0000 (21:42 +0300)]
pulse: make it work on 0.9.12

First we ignore request to fill the ringbuffer which are less then a segment.
The small request where causing stutter.
Then we disable flushing the stream when running against pa 0.9.12 as this
triggers an assertiong in the sound server and terminates it. It does not happen
with 0.9.10 and 0.9.14.

15 years agopulsesink: handle server disconnect in get_time
Wim Taymans [Fri, 10 Apr 2009 12:18:48 +0000 (14:18 +0200)]
pulsesink: handle server disconnect in get_time

When the server is disconnected or when we are shut down, make our clock return
an invalid time instead of erroring out.

15 years agopulsesink: bps is signed int to avoid overflow
Wim Taymans [Fri, 10 Apr 2009 10:01:27 +0000 (12:01 +0200)]
pulsesink: bps is signed int to avoid overflow

Keep bps as gint instead of guint because we will be doing signed math with it
later on and we don't want weird results.

15 years agoavidemux: add convert query, fix duration query
LRN [Thu, 9 Apr 2009 22:26:44 +0000 (00:26 +0200)]
avidemux: add convert query, fix duration query

Fix the duration query so that it also works with formats other than
TIME, such as DEFAULT to get the number of frames.

Add a convert function.

Fixes #578052.

15 years agopulsesink: check for a stream
Wim Taymans [Thu, 9 Apr 2009 21:43:58 +0000 (23:43 +0200)]
pulsesink: check for a stream

Don't try to change the stream volume (and other things) when we don't have a
stream yet. Just store the values for later.

15 years agopulsesink: fix compilation for newer pulseaudio
Wim Taymans [Thu, 9 Apr 2009 16:07:38 +0000 (18:07 +0200)]
pulsesink: fix compilation for newer pulseaudio