Jan Schmidt
120e6bfc5c
pulse: Make sure the stream is uncorked in the write function
...
If the caps changes, the sink is reset without transitioning through
a PAUSED->PLAYING state change, resulting in a corked stream. This avoids
the problem by checking that the stream is uncorked when writing samples
to it.
2009-03-20 12:11:06 +00:00
Tim-Philipp Müller
335891c757
speexenc: fix direction of latency query and other upstream queries
...
Don't send queries back to the element they just came from by sending
them to the peer of the wrong pad.
2009-03-20 01:06:14 +00:00
Tim-Philipp Müller
c885b3d027
.gitignore: ignore more
2009-03-20 01:06:14 +00:00
Tim-Philipp Müller
fa3d457882
rtpmp4adepay: don't append an extra 0 byte to the codec data
...
The audioMuxVersion structure is packed in such a way that the codec
data does not start byte-aligned, which means there's an extra bit of
padding at the end. We don't want that bit in the codec data, since
some decoders seem get confused when they're fed with an extra codec
data byte (also it's just not right of course).
2009-03-20 01:06:14 +00:00
Wim Taymans
f18dabdd57
rtph264depay: fix base64 decoding
...
We can't pass -1 to _decode_step, that functions returns 0 right away instead of
decoding up to the string end.
2009-03-19 13:25:57 +01:00
David Adam
710ff959e3
udp: Fix build if on Solaris
...
This patch checks for Solaris and uses ip_mreq instead of ip_mreqn if on this
platform.
Fixes #575937 .
2009-03-19 13:24:02 +01:00
Sebastian Dröge
77e2637590
rtp: Use GLib functions for encoding/decoding base64
2009-03-18 14:50:17 +01:00
Wim Taymans
8cf0e9ff87
rtspsrc: add some debug for the timestamps
...
When timestamping in TCP mode, log the first timestamp we put on the buffers.
2009-03-16 19:17:24 +01:00
Stefan Kost
1d16c9cc27
v4l2src: log details if we have them, needed for #575391
2009-03-15 23:26:56 +02:00
Wim Taymans
0c4f3d4afb
udpsrc: convert _ in properties to -
...
--
2009-03-13 18:32:47 +01:00
Edgar E. Iglesias
469aced581
udpsrc: Add network interface selection
...
Add network interface selection when joining multicast groups.
Useful when using the udpsrc on multihomed hosts.
Fixes #575234 .
API: GstUDPSrc::multicast-iface
2009-03-13 18:28:59 +01:00
Jan Schmidt
a32581abee
v4l2src: Prepend to lists and reverse them at the end.
...
Gratuitous micro-optimisation - prepend to lists and reverse them, rather
than appending to them each time.
2009-03-13 15:43:52 +00:00
Jan Schmidt
608d13d462
pulsesink: Wait until there is enough room to write an entire segment
...
When trying to write out a segment, wait until there is enough free space
for the entire segment. This helps to reduce ripple in the clock reporting,
where the app might query the playback position while only half a segment
has been written (and is therefore reported by _delay(), even though
the ring buffer has not yet been advanced)
2009-03-13 15:40:50 +00:00
Wim Taymans
7782c9f890
rtspsrc: don't send PAUSE when not connected
...
don't send a PAUSE request when we are no longer connected.
2009-03-12 20:39:35 +01:00
Laszlo Pandy
73fac6e4ea
Don't call FLAC__ methods before it's initialized. Fixes #516031
...
In the event handler, gst_flac_dec_sink_event(), two functions are called on
the FLAC stream without checking if it has been initialized:
FLAC__stream_decoder_flush()
FLAC__stream_decoder_process_until_end_of_stream()
Both these FLAC__*() functions modify the internal state of the FLAC stream.
Later, when the buffers start flowing, gst_flac_dec_chain() tries to initialize
the stream. the FLAC__stream_decoder_init_stream() call will fail because the
previous calls to FLAC__*() changed the stream state so it is no longer in the
initialized state.
2009-03-12 16:10:25 +01:00
Wim Taymans
515d623dcc
rtspsrc: fix timeout check
...
---
2009-03-11 18:00:02 +01:00
Tim-Philipp Müller
f73398de91
win32: update MANIFEST, fixing 'make dist'
...
config.h.in no longer exists.
2009-03-11 12:48:03 +00:00
Stefan Kost
a58498929c
makefile: fix typo in no-static plugins rule
2009-03-10 21:35:16 +02:00
Wim Taymans
18571b9e4f
pngdec: various cleanups.
...
Make some code more readable.
Fix a leak when pull range returns a shot buffer.
Push EOS after posting the error.
2009-03-10 11:03:14 +01:00
Edward Hervey
72a9b89b50
gstrtpvorbisdepay: Fix build on macosx
2009-03-10 10:16:27 +01:00
Edward Hervey
d3e8f61644
.gitignore: Ignore m4 directory
2009-03-10 10:14:23 +01:00
Stefan Kost
dda2d09a90
[MOVED FROM BAD] Don't install static libs for plugins. Fixes #550851 for -bad.
...
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
2009-03-09 23:31:07 +00:00
Tim-Philipp Müller
327ba10120
[MOVED FROM BAD] Enable/fix up translations for these plugins.
...
Original commit message from CVS:
* ext/resindvd/plugin.c: (plugin_init):
* ext/resindvd/resindvdsrc.c:
* ext/twolame/gsttwolame.c: (plugin_init):
* gst/aiffparse/aiffparse.c: (plugin_init):
Enable/fix up translations for these plugins.
* po/LINGUAS:
Add 'ca' to LINGUAS.
* po/POTFILES.in:
* po/POTFILES.skip:
Add more files for translation and more files which tools
should skip.
2009-03-09 23:31:06 +00:00
Sebastian Dröge
80fa4b2a85
[MOVED FROM BAD] ext/twolame/gsttwolame.*: Allow raw float samples as input for encoding.
...
Original commit message from CVS:
* ext/twolame/gsttwolame.c: (gst_two_lame_sink_setcaps),
(gst_two_lame_chain):
* ext/twolame/gsttwolame.h:
Allow raw float samples as input for encoding.
2009-03-09 23:31:06 +00:00
Sebastian Dröge
5a1ffa1831
[MOVED FROM BAD] Add TwoLAME MP2 encoding element, based on the LAME element.
...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/twolame/Makefile.am:
* ext/twolame/gsttwolame.c: (gst_two_lame_mode_get_type),
(gst_two_lame_padding_get_type), (gst_two_lame_emphasis_get_type),
(gst_two_lame_release_memory), (gst_two_lame_finalize),
(gst_two_lame_base_init), (gst_two_lame_class_init),
(gst_two_lame_src_setcaps), (gst_two_lame_sink_setcaps),
(gst_two_lame_init), (gst_two_lame_set_property),
(gst_two_lame_get_property), (gst_two_lame_sink_event),
(gst_two_lame_chain), (gst_two_lame_setup),
(gst_two_lame_change_state), (gst_two_lame_get_default_settings),
(plugin_init):
* ext/twolame/gsttwolame.h:
Add TwoLAME MP2 encoding element, based on the LAME element.
2009-03-09 23:31:06 +00:00
Jan Schmidt
cebb505c4a
Automatic update of common submodule
...
From 7032163 to f8b3d91
2009-03-09 23:12:33 +00:00
Wim Taymans
06efeff5d9
vorbisdepay: fix some leaks
...
And leak the codebooks.
Use glib base64 decoders.
Use subbuffers to avoid a memcpy of the headers.
2009-03-09 18:07:20 +01:00
Wim Taymans
8f8e035cd5
flacdec: don't lose the first buffer after a seek
...
The flacdec API calls the write callback when performing a seek. We cannot yet
push out a buffer at that time so we must keep it and push it out later.
Flush out the upstream part of the pipeline when doing a seek.
Fixes #574275 .
2009-03-09 17:14:12 +01:00
Wim Taymans
af7aaef37a
qtdemux: sanitize tag names
...
Sanitize the tag names before turning them into a structure name. We can only
add alphanumeric values as the structure name.
2009-03-09 15:20:05 +01:00
Sebastian Dröge
36e4c9fc9d
Automatic update of common submodule
...
From ffa738d to 7032163
2009-03-08 12:04:22 +01:00
Sebastian Dröge
177326606b
Automatic update of common submodule
...
From 3f13e4e to ffa738d
2009-03-08 11:19:56 +01:00
Sebastian Dröge
e8e668cd0d
Automatic update of common submodule
...
From 3c7456b to 3f13e4e
2009-03-07 11:45:35 +01:00
Sebastian Dröge
ead2adeab7
Automatic update of common submodule
...
From 57c83f2 to 3c7456b
2009-03-07 10:45:40 +01:00
Stefan Kost
f86b485f3b
v4l2src: fix pads, so that they are subset of template caps
...
Do not add w=0 | h=0. When we can't get a framerate add fraction range.
2009-03-06 21:57:53 +02:00
Wim Taymans
636cd65ebf
rtspsrc: fix range parsing
...
Fix parsing of the range headers.
2009-03-05 14:09:03 +01:00
Olivier Crête
e4b8c514cc
Move siren rtp pay/depay from gst-plugins-farsight
2009-03-04 13:24:34 -05:00
Wim Taymans
5a5ba49c9b
rtspsrc: fix memory leak in close
...
Close the connection even when we fail to send the teardown message.
Use the connection url (which is a copy of the src url).
2009-03-04 16:31:57 +01:00
Peter Kjellerstedt
c83635d42c
check: gst-plugins-good.supp needs to be distributed.
2009-03-04 16:15:05 +01:00
Wim Taymans
dfb2d1b7d7
rtspsrc: fix do-rtcp property description
...
---
2009-03-04 12:29:50 +01:00
Edward Hervey
1523ef681b
souphttpsrc: Expose the SoupSession 'timeout' property.
2009-03-03 12:20:27 +01:00
Edward Hervey
2c2a1738ba
.gitignore: Ignore the m4/ directory
2009-03-02 18:53:37 +01:00
Wim Taymans
8b6c8b934a
rtpmp4vpay: Add support for more formats
...
Hack around short header mpeg4 video files and put the short header as the
config string.
Fixes #572551 .
2009-03-02 17:18:55 +01:00
Wim Taymans
81f25317e6
rtspsrc: add support for http tunneling
...
Add support for http tunneling and a new rtsph:// uri for it.
See #573173 .
2009-03-02 16:09:23 +01:00
Thomas Vander Stichele
9f25f96155
Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-plugins-good
2009-03-02 09:43:30 +01:00
Thomas Vander Stichele
13221762d0
Add/clarify/fix some logging.
2009-03-02 08:41:15 +01:00
David Schleef
0083b9e405
Remove hardcoded definition of OBJC
2009-03-01 12:47:37 -08:00
Sjoerd Simons
b6755a7000
Wait for a frame to become available before capturing it
...
Use GstPoll to wait for the fd of the video device to become readable before
trying to capture a frame. This speeds up stopping v4l2src a lot as it no
longer has to wait for the next frame, especially when capturing with low
framerates or when the video device just never generates a frame (which seems a
common issue for uvcvideo devices)
Fixes bug #563574 .
2009-03-01 19:55:26 +01:00
Tim-Philipp Müller
7087da96dc
alawdec, mulawdec: demote some debug messages from ERROR to WARNING or DEBUG
...
Non-ok flow returns may happen for a variety of perfectly legitimate and expected reasons
(temporarily not linked, seeking, pipeline shutdown), so we really shouldn't spew ERROR
debug messages to stderr in those cases. Fixes #570781 . (Seems like someone already took
care of some of these.)
2009-02-28 19:26:35 +00:00
René Stadler
157531d91e
rgvolume: Improve log message for peak values >1.0 by clamping explicitly.
2009-02-28 15:26:00 +02:00
David Schleef
9f3ad53ca8
Fix the field dominance
...
PAL is TFF, NTSC is BFF. Some day I will learn to keep this
straight.
2009-02-27 23:26:40 -08:00