Commit graph

2473 commits

Author SHA1 Message Date
Wim Taymans 617247ed8d sys/v4l/: Added a copy mode to v4lsrc where it will output a copied version of its internal hardware buffer.
Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
Added a copy mode to v4lsrc where it will output a copied version
of its internal hardware buffer.
Fix the wrong FLAG_SET usage. The flags are integers, not bits, you
can't | them.
2004-06-16 15:07:57 +00:00
Wim Taymans c7955f6ed6 sys/oss/gstosssrc.c: Timestamp fixes.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Timestamp fixes.
2004-06-16 10:48:04 +00:00
Wim Taymans 218f6ccee3 sys/v4l/: Added a sync mode enum property to control v4lsrc timestamp method
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4l-overlay_calls.c: (gst_v4l_set_overlay):
Added a sync mode enum property to control v4lsrc timestamp method
Removed the use-fixed-fps property and moved functionality in
the enum.
Don't error on an error value from v4l-conf, it might not always
be a real error.
2004-06-16 10:13:51 +00:00
Wim Taymans 88c0bf9477 gst/videorate/: Added a video timestamp corrector.
Original commit message from CVS:
* gst/videorate/Makefile.am:
* gst/videorate/gstvideorate.c: (gst_videorate_get_type),
(gst_videorate_base_init), (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_link),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property),
(gst_videorate_change_state), (plugin_init):
Added a video timestamp corrector.
2004-06-16 09:39:02 +00:00
Zaheer Abbas Merali 85222e4aa1 fixed a potential leak with previous commit
Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

fixed a potential leak with previous commit

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
2004-06-15 21:58:18 +00:00
Zaheer Abbas Merali 36218938a2 gst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425
Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
Added missing refcount, fixes bug #144425
Cheers Tim for finding the bug
2004-06-15 21:25:36 +00:00
Thomas Vander Stichele 1cd9a2a3bf paranoia cleanups and a sync fix
Original commit message from CVS:
paranoia cleanups and a sync fix
2004-06-15 09:11:06 +00:00
David Schleef 26ab4bc895 ext/cdparanoia/gstcdparanoia.c: Send discont events and change timestamps appropriately when we get a seek event. (b...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_init),
(cdparanoia_get), (cdparanoia_open), (cdparanoia_change_state):
Send discont events and change timestamps appropriately when
we get a seek event.  (bug #144240)
* ext/cdparanoia/gstcdparanoia.h:
2004-06-14 20:33:56 +00:00
Christophe Fergeau a41a742fcd ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of snd_pcm_hw_params_set_rate since the latter fail...
Original commit message from CVS:
2004-06-14  Benjamin Otte  <otte@gnome.org>

* ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of
snd_pcm_hw_params_set_rate  since the latter fails for no good
reason on some setups.<
2004-06-14 20:30:36 +00:00
David Schleef e2ea6297f3 gst/volume/demo.c: (value_changed_callback): exp10() is not standard. Thank you for playing.
Original commit message from CVS:
* gst/volume/demo.c: (value_changed_callback): exp10() is not
standard.  Thank you for playing.
2004-06-14 20:24:07 +00:00
Wim Taymans 9feb76d76b gst/ffmpegcolorspace/imgconvert.c: Patch 1.3 broke the ordering of the colorspace info and made the plugin basically ...
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert):
Patch 1.3 broke the ordering of the colorspace info and
made the plugin basically work by coincidence, reodered
the info.
2004-06-14 13:19:39 +00:00
Thomas Vander Stichele 9fee891aa0 sync mp3 caps
Original commit message from CVS:
sync mp3 caps
2004-06-14 10:58:27 +00:00
Thomas Vander Stichele 4933e56c19 added volume demo app
Original commit message from CVS:
added volume demo app
2004-06-14 10:04:44 +00:00
Jan Schmidt 7657b3d60b ext/esd/esdsink.*: Close the esd connection on pause, because esd will just wait - blocking all other esd clients ind...
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_change_state):
* ext/esd/esdsink.h:
Close the esd connection on pause, because esd will just wait -
blocking all other esd clients indefinitely.
2004-06-13 10:58:34 +00:00
Christophe Fergeau 2f03853330 gst/tags/gstvorbistag.c: replaced a g_warning which I added in my previous commit with GST_DEBUG
Original commit message from CVS:
2004-06-12  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: replaced a g_warning which I added in my
previous commit with GST_DEBUG
2004-06-12 11:24:50 +00:00
Thomas Vander Stichele b44a363711 fix #133002
Original commit message from CVS:
fix #133002
2004-06-12 10:59:57 +00:00
Zaheer Abbas Merali bfc81c673e gst/tcp/: Modified the tcp plugins so they are portable (IPv4,IPv6, any future version of IP)
Original commit message from CVS:
2004-06-12  Zaheer Abbas Merali  <zaheerabbas@merali.org>

* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init_send):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init_receive):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_init),
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_init_send):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
* gst/tcp/gsttcpserversrc.h:
Modified the tcp plugins so they are portable (IPv4,IPv6, any future
version of IP)
2004-06-12 10:55:09 +00:00
Zaheer Abbas Merali 3db2228e76 configure.ac: Added ogg library so that OSX detects libtheora properly
Original commit message from CVS:
2004-06-12  Zaheer Abbas Merali  <zaheerabbas@merali.org>

* configure.ac:
Added ogg library so that OSX detects libtheora properly
2004-06-12 10:30:59 +00:00
Wim Taymans b1f85719cd ext/theora/theoradec.c: Don't try to decode frames before we received a keyframe
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain),
(theora_dec_change_state):
Don't try to decode frames before we received a keyframe
2004-06-11 17:34:31 +00:00
Thomas Vander Stichele a7bb9542e2 add enc
Original commit message from CVS:
add enc
2004-06-11 15:24:43 +00:00
Wim Taymans 68dcaa8ddf ext/ogg/gstoggmux.c: Added property to set the maximum delay of a page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added property to set the maximum delay of a page.
2004-06-11 14:38:59 +00:00
Wim Taymans 8273169245 ext/ogg/gstoggmux.c: Added max-delay property to control the maximum amount of data to put in one page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added max-delay property to control the maximum amount
of data to put in one page.
2004-06-10 16:06:21 +00:00
Wim Taymans 0a19ade65d ext/theora/theoraenc.c: Set duration on encoded buffer, added some more properties
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(gst_theora_enc_init), (theora_enc_sink_link),
(theora_buffer_from_packet), (theora_enc_set_property),
(theora_enc_get_property):
Set duration on encoded buffer, added some more properties
2004-06-10 14:59:17 +00:00
Wim Taymans 7e23252a56 ext/: Fix refcounting bugs
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
* ext/theora/theoraenc.c: (theora_enc_chain):
Fix refcounting bugs
2004-06-10 11:33:05 +00:00
Ronald S. Bultje 6001fd12e1 gst/asfdemux/gstasfdemux.*: You know Chimaira? "I - HATE - EVERYTHING". Yeah, that's what this feels like. I think we...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_loop), (gst_asf_demux_process_file),
(gst_asf_demux_process_data), (gst_asf_demux_handle_data),
(gst_asf_demux_process_object), (gst_asf_demux_get_stream),
(gst_asf_demux_process_chunk), (gst_asf_demux_handle_sink_event),
(gst_asf_demux_handle_src_event), (gst_asf_demux_handle_src_query),
(gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
You know Chimaira? "I - HATE - EVERYTHING". Yeah, that's what this
feels like. I think we should set a new requirement for demuxers
from now on to implement sane loop functions, data loops, query
and seek functions before first commit into CVS. And this commit
fixes all of the above.
2004-06-10 04:23:02 +00:00
Christophe Fergeau 5a9d5ffaee gst/tags/gstvorbistag.c: make sure parsed vorbis comments are properly encoded in UTF-8 before adding them to a GstTa...
Original commit message from CVS:
2004-06-10  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add): make sure parsed
vorbis comments are properly encoded in UTF-8 before adding them
to a GstTagList
2004-06-09 22:12:33 +00:00
Benjamin Otte b072067792 ext/alsa/gstalsa.c: handle min <= max correctly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (add_channels):
handle min <= max correctly
* ext/alsa/gstalsa.c: (gst_alsa_fixate_to_mimetype),
(gst_alsa_fixate_field_nearest_int), (gst_alsa_fixate):
add fixation functions so we fixate correctly. No preferring of alaw
anymore because it's the first structure.
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsa.c: (gst_alsa_sw_params_dump),
(gst_alsa_hw_params_dump):
add functions to ease debugging in alsalib
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
only specify hw params if we really setup a format (fixes #134007 -
or at least works around it)
2004-06-09 17:06:40 +00:00
Wim Taymans ddb542a250 ext/ogg/gstoggmux.c: Use stream caps to setup the initial pages in the ogg stream.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_push_page), (gst_ogg_mux_get_headers),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_send_headers),
(gst_ogg_mux_loop):
Use stream caps to setup the initial pages in the ogg stream.
Correctly set the streamheader caps on the srcpad.
2004-06-09 12:22:45 +00:00
Thomas Vander Stichele a7290d6dc0 negotiating webcam framerate now works
Original commit message from CVS:
negotiating webcam framerate now works
2004-06-09 11:32:38 +00:00
Thomas Vander Stichele b42fbbccd7 mark buffers as streamheader
Original commit message from CVS:
mark buffers as streamheader
2004-06-08 16:41:41 +00:00
Thomas Vander Stichele af32847341 return EOS instead of NULL
Original commit message from CVS:
return EOS instead of NULL
2004-06-08 14:45:33 +00:00
Wim Taymans 41246492b6 gst/tcp/: Memory leak fixes
Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_header),
(gst_tcp_gdp_read_caps), (gst_tcp_gdp_write_header),
(gst_tcp_gdp_write_caps):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_gdp_read_caps),
(gst_tcpserversrc_gdp_read_header), (gst_tcpserversrc_get):
Memory leak fixes
2004-06-08 14:24:52 +00:00
Thomas Vander Stichele 26dfa416fd adding vorbisparse
Original commit message from CVS:
adding vorbisparse
2004-06-08 11:53:13 +00:00
Wim Taymans aff43aca04 ext/jpeg/: Added a new simple jpeg based codec
Original commit message from CVS:
* ext/jpeg/Makefile.am:
* ext/jpeg/README:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_get_type),
(gst_smokedec_base_init), (gst_smokedec_class_init),
(gst_smokedec_init), (gst_smokedec_link), (gst_smokedec_chain):
* ext/jpeg/gstsmokedec.h:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_get_type),
(gst_smokeenc_base_init), (gst_smokeenc_class_init),
(gst_smokeenc_init), (gst_smokeenc_getcaps), (gst_smokeenc_link),
(gst_smokeenc_resync), (gst_smokeenc_chain),
(gst_smokeenc_set_property), (gst_smokeenc_get_property):
* ext/jpeg/gstsmokeenc.h:
* ext/jpeg/smokecodec.c: (smokecodec_init_destination),
(smokecodec_flush_destination), (smokecodec_term_destination),
(smokecodec_init_source), (smokecodec_fill_input_buffer),
(smokecodec_skip_input_data), (smokecodec_resync_to_restart),
(smokecodec_term_source), (smokecodec_encode_new),
(smokecodec_decode_new), (smokecodec_info_free),
(smokecodec_set_quality), (smokecodec_get_quality),
(smokecodec_set_threshold), (smokecodec_get_threshold),
(smokecodec_set_bitrate), (smokecodec_get_bitrate),
(find_best_size), (abs_diff), (put), (smokecodec_encode),
(smokecodec_parse_header), (smokecodec_decode):
* ext/jpeg/smokecodec.h:
Added a new simple jpeg based codec
2004-06-08 11:47:35 +00:00
Wim Taymans 176414a68b gst/multipart/multipartmux.c: Fix memory leak
Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_loop):
Fix memory leak
2004-06-08 11:24:45 +00:00
Thomas Vander Stichele 75373bcb83 use streamheader
Original commit message from CVS:
use streamheader
2004-06-08 10:44:59 +00:00
Thomas Vander Stichele 47a7bd445d clean up marshal generation
Original commit message from CVS:
clean up marshal generation
2004-06-08 10:14:49 +00:00
Thomas Vander Stichele 80fd873f6e uniformized; added signals to serversink for new and removed clients
Original commit message from CVS:
uniformized; added signals to serversink for new and removed clients
2004-06-08 09:12:12 +00:00
Benjamin Otte 88c45a0677 ext/alsa/gstalsasink.c: handle discont events if they happen before caps nego
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
handle discont events if they happen before caps nego
2004-06-07 20:44:55 +00:00
Wim Taymans 1248ee0fe0 gst/multipart/: Small updates, fix a memleak
Original commit message from CVS:
* gst/multipart/multipartdemux.c: (gst_multipart_demux_base_init),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_loop),
(gst_multipart_mux_change_state):
Small updates, fix a memleak
2004-06-07 16:32:45 +00:00
Stéphane Loeuillet 2a6e591f90 configure.ac: OSS portability
Original commit message from CVS:
* configure.ac: OSS portability
* ext/arts/gst_arts.c: idem
* sys/oss/gstosselement.c: idem
* sys/oss/gstossmixer.c: idem
* sys/oss/gstosssink.c: idem
* sys/oss/gstosssrc.c: idem
* sys/oss/oss_probe.c: idem
- check for soundcard.h in different places for some BSD
2004-06-07 13:40:07 +00:00
Jan Schmidt c4ce805afa AUTHORS: Add me to the authors file
Original commit message from CVS:
* AUTHORS:
Add me to the authors file
* configure.ac:
Increase the libdv requirement to >= version 0.100
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert),
(gst_dvdec_src_query), (gst_dvdec_handle_sink_event),
(gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Add support for the new_media flag when sending DISCONT events
Make the querying work when video pad is not linked
2004-06-07 12:01:51 +00:00
Benjamin Otte 1a0ceb7f99 gst/mixmatrix/mixmatrix.c: create a NULL-initialized array of pads, so we don't think they exist already. (fixes #143...
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_init):
create a NULL-initialized array of pads, so we don't think they
exist already. (fixes #143130)
2004-06-07 02:39:02 +00:00
Benjamin Otte 2fa9ba3892 ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_samples_to_timestamp):
cast to GstClockTime to get higher granularity
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
use gst_element_set_time_delay to get the exact time
* ext/mad/gstmad.c: (gst_mad_chain):
use the negotiated rate instead of the current frame's rate which
might be wrong because of bit errors. This avoids emitting totally
bogus timestamps and screwing sync.
(fixes #143454)
2004-06-07 01:41:37 +00:00
Benjamin Otte 835efb3382 gst/adder/gstadder.c: properly error out when no negotiation has happened yet. (fixes #143032)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/adder/gstadder.c: (gst_adder_loop):
properly error out when no negotiation has happened yet. (fixes
#143032)
2004-06-06 23:43:15 +00:00
Arwed v. Merkatz 591b2f8d45 ext/mad/gstid3tag.c: forward correctly transformed offset in discont events. Based on
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
forward correctly transformed offset in discont events. Based on
patch by Arwed v. Merkatz. (fixes #142851)
2004-06-06 21:03:06 +00:00
David Schleef 0b2514f471 gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
G_HAVE_GNUC_VARARGS, not G_HAVE_GNU_VARARGS.  Should fix compile
problems on several systems.
2004-06-06 20:58:59 +00:00
Benjamin Otte d1b4b1689e ext/vorbis/vorbisdec.c: use explicit caps on the srcpad
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init):
use explicit caps on the srcpad
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
properly error out if caps couldn't be set (fixes #142764)
2004-06-06 19:36:08 +00:00
Benjamin Otte 09bf21c375 ext/alsa/gstalsa.c: - don't call set_periods_integer anymore, it breaks the configuration randomly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
- don't call set_periods_integer anymore, it breaks the
configuration randomly
- call snd_pcm_hw_params_set_access directly instead of using masks
- don't fail if the sw_params can't be set, just use the default
params and hope it works. Alsalib has weird issues when you touch
sw_params and does no proper error reporting about what failed.
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_close_audio):
make our alsa debugging go via gst debugging and not conditionally
defined
* ext/alsa/gstalsa.h:
add ALSA_DEBUG_FLUSH macro
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper),
(plugin_init):
wrap alsa errors to be printed via the gst debugging system and not
spammed to stderr
2004-06-06 17:26:54 +00:00
Ronald S. Bultje c94e964c36 gst/qtdemux/qtdemux.*: Bitch. Also known as seeking, querying & co.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_dump_mvhd),
(qtdemux_parse_trak):
* gst/qtdemux/qtdemux.h:
Bitch. Also known as seeking, querying & co.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/oss/gstosssink.h:
Resyncing is for weenies, this hack is no longer needed and was
broken anyway (since it - unintendedly - always leaves resync to
TRUE).
2004-06-05 18:50:47 +00:00