Commit graph

4122 commits

Author SHA1 Message Date
Tim-Philipp Müller
0492b93845 gst/modplug/gstmodplug.cc: Remove superfluous gst_caps_get_structure() call.
Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Remove superfluous gst_caps_get_structure() call.
2007-02-06 16:00:37 +00:00
Tim-Philipp Müller
0ef6b57d2f configure.ac: Increase required libsndfile version to a version that's known to have the function sf_write_sync() to ...
Original commit message from CVS:
* configure.ac:
Increase required libsndfile version to a version that's known to
have the function sf_write_sync() to make the build bots happy.
2007-02-06 10:16:52 +00:00
Tim-Philipp Müller
75134dcdc3 ext/sndfile/gstsfsrc.c: Fix build (installed setup).
Original commit message from CVS:
* ext/sndfile/gstsfsrc.c:
Fix build (installed setup).
2007-02-06 09:39:16 +00:00
Andy Wingo
8334e7d4b0 ext/sndfile/: Port sfsrc to 0.10, pull or push, with random access woo.
Original commit message from CVS:
2007-02-05  Andy Wingo  <wingo@pobox.com>

* ext/sndfile/Makefile.am:
* ext/sndfile/gstsfsrc.h:
* ext/sndfile/gstsfsrc.c: Port sfsrc to 0.10, pull or push, with
random access woo.
2007-02-05 18:42:45 +00:00
Tim-Philipp Müller
add17e34f0 Fix up to use the newly ported (actually working) GstAudioFilter.
Original commit message from CVS:
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init),
(gst_iir_equalizer_class_init), (gst_iir_equalizer_init),
(setup_filter), (gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_transform_ip), (gst_iir_equalizer_setup),
(plugin_init):
* gst/equalizer/gstiirequalizer.h:
Fix up to use the newly ported (actually working) GstAudioFilter.
Bump core/base requirements to CVS for this.
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/equalizer-test.c: (check_bus),
(equalizer_set_band_value), (equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Add brain-dead interactive test for equalizer.
2007-02-03 23:35:26 +00:00
Tim-Philipp Müller
d5bd74dcf6 gst/equalizer/gstiirequalizer.c: Rename "values" property to "band-values" and change type into a
Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_class_init),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_filter_inplace):
Rename "values" property to "band-values" and change type into a
GValueArray, so it's more easily bindable and the range of the
values passed in is defined and checked etc.; also do some
locking.
2007-02-02 18:36:28 +00:00
James Doc Livingston
c2306bc88f Port equalizer plugin to 0.10 (#403572).
Original commit message from CVS:
Patch by: James "Doc" Livingston  <doclivingston at gmail com>
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_get_type),
(gst_iir_equalizer_base_init), (gst_iir_equalizer_class_init),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property),
(gst_iir_equalizer_filter_inplace), (gst_iir_equalizer_setup),
(plugin_init):
Port equalizer plugin to 0.10 (#403572).
2007-02-02 17:39:21 +00:00
Andy Wingo
91e91243a9 configure.ac: ext/Makefile.am
Original commit message from CVS:
2007-02-02  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* ext/Makefile.am
* ext/sndfile/Makefile.am:
* ext/sndfile/gstsf.c:
* ext/sndfile/gstsf.h:
* ext/sndfile/gstsfsink.c:
* ext/sndfile/gstsfsink.h: Port sfsink to 0.10. Works in pull or
push mode with interleaved float or int data.
2007-02-02 13:28:05 +00:00
Tim-Philipp Müller
144b320afe ext/alsaspdif/alsaspdifsink.c: Set rank to NONE so that it doesn't get autoplugged by autoaudiosink (which didn't hap...
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c: (plugin_init):
Set rank to NONE so that it doesn't get autoplugged by autoaudiosink
(which didn't happen previously because the klass string didn't
contain anything autoaudiosink was looking for).
2007-02-02 11:09:50 +00:00
Stefan Kost
6b9ccde0a0 gst/real/: Fix classification in GstElementDetails.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c:
* gst/real/gstrealvideodec.c:
Fix classification in GstElementDetails.
2007-01-31 10:02:05 +00:00
Sebastian Dröge
2397f01e97 ext/wavpack/gstwavpackparse.c: Fix a off by one that leads to the duration reported as one sample less than it is
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_create_src_pad):
Fix a off by one that leads to the duration reported as one
sample less than it is
2007-01-31 08:32:59 +00:00
Stefan Kost
75337844d9 Fix classification in GstElementDetails.
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c:
* gst/nsf/gstnsf.c:
Fix classification in GstElementDetails.
* ext/ladspa/gstladspa.c: (gst_ladspa_base_init),
(gst_ladspa_class_init):
Improve Klassification and reduce code slighly.
2007-01-31 08:16:59 +00:00
Edward Hervey
385bba644f configure.ac: Check for an Objective C compiler
Original commit message from CVS:
* configure.ac:
Check for an Objective C compiler
* sys/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Port of osxvideo plugin to 0.10. Do NOT consider 100% stable !
Fixes #402470
2007-01-30 17:19:33 +00:00
Christian Schaller
3838fe023e update spec file
Original commit message from CVS:
update spec file
2007-01-29 20:51:02 +00:00
Tim-Philipp Müller
3c0fe48e4a gst/videocrop/gstvideocrop.c: Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
Original commit message from CVS:
* gst/videocrop/gstvideocrop.c:
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex):
Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
* tests/icles/videocrop-test.c: (check_bus_for_errors),
(test_with_caps), (main):
Block streaming thread before changing filter caps while the
pipeline is running so that we don't get random not-negotiated
errors just because GStreamer can't handle that yet.
2007-01-28 18:28:33 +00:00
Stefan Kost
7328c54698 ext/ladspa/: add GstController support to ladspa
Original commit message from CVS:
* ext/ladspa/Makefile.am:
* ext/ladspa/gstladspa.c: (gst_ladspa_class_get_param_spec):
add GstController support to ladspa
2007-01-28 17:35:13 +00:00
Rosfran Borges
d0b9ec1252 ext/mythtv/gstmythtvsrc.c: Remove sleep calls, they've been moved into the library now ... (#354451).
Original commit message from CVS:
Patch by: Rosfran Borges <rosfran dot borges at idnt org br>
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_start),
(gst_mythtv_src_next_program_chain):
Remove sleep calls, they've been moved into the library now ...
(#354451).
2007-01-28 13:01:02 +00:00
Tim-Philipp Müller
f7632ce231 tests/icles/videocrop-test.c: Catch errors while the test is running.
Original commit message from CVS:
* tests/icles/videocrop-test.c: (test_with_caps):
Catch errors while the test is running.
2007-01-27 16:08:15 +00:00
Sebastian Dröge
0f64498843 ext/wavpack/gstwavpackparse.c: Fix the SEEKING query. We can seek if we are in pull mode, not the other way around. A...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query):
Fix the SEEKING query. We can seek if we are in pull mode, not the
other way around. Also set the correct format in the seeking query and
handle the case where the headers are not read yet and we can't say
anything about our seeking capabilities.
2007-01-25 23:27:59 +00:00
Sebastian Dröge
713a4c725c ext/wavpack/: Fix spelling in 2 places: It's called Wavpack, not WavePack.
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
Fix spelling in 2 places: It's called Wavpack, not WavePack.
2007-01-25 21:55:49 +00:00
Edward Hervey
ca6a88a8fc gst/: Use proper print statements.
Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
(gst_multi_file_sink_class_init):
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_class_init):
* gst/mve/gstmvedemux.c: (gst_mve_video_create_buffer),
(gst_mve_video_palette), (gst_mve_video_code_map),
(gst_mve_audio_init), (gst_mve_audio_data), (gst_mve_timer_create),
(gst_mve_demux_chain):
* gst/mve/gstmvemux.c: (gst_mve_mux_push_chunk):
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/mve/mvevideodec16.c: (ipvideo_copy_block):
* gst/mve/mvevideodec8.c: (ipvideo_copy_block):
* gst/mve/mvevideoenc16.c: (mve_encode_frame16):
* gst/mve/mvevideoenc8.c: (mve_encode_frame8):
Use proper print statements.
Fixes build on mac os x.
<wingo> oo look at me my name is edward i'm hacking on macos wooo
2007-01-25 12:05:11 +00:00
Wim Taymans
2ba135f614 gst/qtdemux/gstrtpxqtdepay.c: Fix caps on the depayloader.
Original commit message from CVS:
* gst/qtdemux/gstrtpxqtdepay.c:
Fix caps on the depayloader.
2007-01-24 11:29:00 +00:00
Thomas Vander Stichele
ba02842337 work if it's already there too
Original commit message from CVS:
work if it's already there too
2007-01-23 14:54:01 +00:00
Tim-Philipp Müller
a43720466a ext/mythtv/gstmythtvsrc.c: Use break here instead of goto.
Original commit message from CVS:
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property):
Use break here instead of goto.
2007-01-17 17:29:04 +00:00
Andy Wingo
fbf13cbbf1 gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads): Use fixed caps on src pads.
Original commit message from CVS:
2007-01-13  Andy Wingo  <wingo@pobox.com>

* gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads):
Use fixed caps on src pads.
(gst_deinterleave_remove_pads): Remove src pads, not sink pads. I
seem to have reverse midas disease!
(gst_deinterleave_process): Proxy timestamps, offsets, durations,
and set caps on outgoing buffers. Fixes #395597, I think.
2007-01-13 19:12:32 +00:00
Andy Wingo
25b0abdd80 gst/interleave/interleave.c (gst_interleave_init): Init the activation mode properly.
Original commit message from CVS:
2007-01-13  Andy Wingo  <wingo@pobox.com>

* gst/interleave/interleave.c (gst_interleave_init): Init the
activation mode properly.
(gst_interleave_src_setcaps, gst_interleave_src_getcaps)
(gst_interleave_init): Set a setcaps and getcaps function on the
src pad, so that we can implement pull-mode negotiation.
(gst_interleave_sink_setcaps): Renamed from
gst_interleave_setcaps, as it only does the sink logic now.
Implement both for pull-mode and push-mode.
(gst_interleave_process): Set caps on our outgoing buffer.
(gst_interleave_src_activate_pull): Fix some more bogus casts.
What is up with this.
2007-01-13 18:01:41 +00:00
Tim-Philipp Müller
96ba4fcc58 ext/mythtv/gstmythtvsrc.c: Clean up a bit, mostly the debug statements; fix deadlock in _set_property() in the error ...
Original commit message from CVS:
* ext/mythtv/gstmythtvsrc.c: (do_read_request_response),
(gst_mythtv_src_create), (gst_mythtv_src_get_position),
(gst_mythtv_src_do_seek), (gst_mythtv_src_start),
(gst_mythtv_src_next_program_chain), (gst_mythtv_src_get_size),
(gst_mythtv_src_handle_event), (gst_mythtv_src_handle_query),
(gst_mythtv_src_change_state), (gst_mythtv_src_set_property),
(gst_mythtv_src_uri_get_type):
Clean up a bit, mostly the debug statements; fix deadlock in
_set_property() in the error cases; fix up query function.
2007-01-13 12:37:55 +00:00
Andy Wingo
57f11c5ed8 ext/ladspa/gstsignalprocessor.c (gst_signal_processor_fixate)
Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_fixate)
(gst_signal_processor_ouija_caps, gst_signal_processor_prepare):
Remove fixate/ouija stuff, thankfully, due to the new
part-negotiation.txt pull-mode negotiation scheme.
(gst_signal_processor_setcaps_pull)
(gst_signal_processor_setcaps): Implement upstream set_caps pull
proxying for pull mode. Now this works: ladspa-sine-fcac !
audioconvert ! alsasink.
2007-01-12 21:58:43 +00:00
Edgard Lima
1b07bbad86 MythTV client source plugin created.
Original commit message from CVS:
MythTV client source plugin created.
2007-01-12 19:02:37 +00:00
Wim Taymans
5f042edd46 gst/qtdemux/: Add X-QT depayloader that will eventually share code with the demuxer.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/gstrtpxqtdepay.c: (gst_rtp_xqt_depay_base_init),
(gst_rtp_xqt_depay_class_init), (gst_rtp_xqt_depay_init),
(gst_rtp_xqt_depay_finalize), (gst_rtp_quicktime_parse_sd),
(gst_rtp_xqt_depay_setcaps), (gst_rtp_xqt_depay_process),
(gst_rtp_xqt_depay_set_property), (gst_rtp_xqt_depay_get_property),
(gst_rtp_xqt_depay_change_state), (gst_rtp_xqt_depay_plugin_init):
* gst/qtdemux/gstrtpxqtdepay.h:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_base_init),
(gst_qtdemux_loop_state_header), (gst_qtdemux_loop),
(qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (gst_qtdemux_add_stream),
(qtdemux_parse_trak), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/quicktime.c: (plugin_init):
Add X-QT depayloader that will eventually share code with the demuxer.
Make new plugin entry point with quicktime releated stuff.
2007-01-12 17:16:51 +00:00
Tim-Philipp Müller
120d45fd43 gst/qtdemux/Makefile.am: Dist all new files.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
Dist all new files.
2007-01-12 12:10:19 +00:00
Wim Taymans
5b8f9f81ca docs/plugins/: Activate docs for jack, sdl and qtdemux.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-qtdemux.xml:
Activate docs for jack, sdl and qtdemux.
2007-01-12 10:27:25 +00:00
Wim Taymans
328506bf6a ext/jack/gstjackaudiosink.*: Improve docs.
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (jack_sample_rate_cb),
(jack_buffer_size_cb), (jack_shutdown_cb),
(gst_jack_ring_buffer_acquire):
* ext/jack/gstjackaudiosink.h:
Improve docs.
2007-01-12 10:25:40 +00:00
Wim Taymans
675f4c10de ext/gsm/gstgsmenc.c: Fix typo in docs.
Original commit message from CVS:
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
Fix typo in docs.
2007-01-12 10:24:29 +00:00
Wim Taymans
9562fe4f16 gst/qtdemux/: Cleanup and refactor to make the code more readable.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_combine_flows),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_sink_activate_pull),
(qtdemux_inflate), (qtdemux_parse_moov), (qtdemux_parse_container),
(qtdemux_parse_node), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type), (gst_qtdemux_add_stream),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_date), (qtdemux_tag_add_gnre),
(qtdemux_parse_udta), (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_redirects),
(qtdemux_parse_tree), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_node_dump_foreach),
(qtdemux_node_dump):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c: (qtdemux_type_get):
* gst/qtdemux/qtdemux_types.h:
* gst/qtdemux/qtpalette.h:
Cleanup and refactor to make the code more readable.
Move debugging/tables into separate files.
Add 2/4/16 color palletee support.
Fix raw 15 bit RGB handling.
Use more FOURCC constants.
Add some docs.
2007-01-12 10:22:16 +00:00
Sebastian Dröge
18ba3efeba ext/wavpack/gstwavpackenc.c: Minor clean-up: use enum values instead of hardcoded constants (#395536).
Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type),
(gst_wavpack_enc_correction_mode_get_type),
(gst_wavpack_enc_joint_stereo_mode_get_type):
Minor clean-up: use enum values instead of hardcoded constants (#395536).
2007-01-11 19:51:04 +00:00
Tim-Philipp Müller
d7294ac13e gst/mve/gstmvedemux.c: Support SEEKING query (bad news now delivered properly!); add event function to source pads to...
Original commit message from CVS:
* gst/mve/gstmvedemux.c: (gst_mve_demux_get_src_query_types),
(gst_mve_demux_handle_src_query), (gst_mve_demux_handle_src_event),
(gst_mve_add_stream):
Support SEEKING query (bad news now delivered properly!); add event
function to source pads to make sure seeks aren't propagated
upstream, even if they aren't handled.
2007-01-11 12:28:56 +00:00
Jens Granseuer
5dbec4ecf4 Add Interplay MVE format demuxer/decoder and muxer/encoder. Demuxer doesn't support seeking yet, but seems to work fi...
Original commit message from CVS:
Patch by: Jens Granseuer  <jensgr at gmx net>
* configure.ac:
* gst/mve/Makefile.am:
* gst/mve/TODO:
* gst/mve/gstmve.c:
* gst/mve/gstmvedemux.c:
* gst/mve/gstmvedemux.h:
* gst/mve/gstmvemux.c:
* gst/mve/gstmvemux.h:
* gst/mve/mve.h:
* gst/mve/mveaudiodec.c:
* gst/mve/mveaudioenc.c:
* gst/mve/mvevideodec16.c:
* gst/mve/mvevideodec8.c:
* gst/mve/mvevideoenc16.c:
* gst/mve/mvevideoenc8.c:
Add Interplay MVE format demuxer/decoder and muxer/encoder. Demuxer
doesn't support seeking yet, but seems to work fine otherwise.
Closes #348973.
2007-01-11 11:39:56 +00:00
Tim-Philipp Müller
abe3e58b1b gst/real/Makefile.am: Fix build (add LIBS and CFLAGS for gst-plugins-base stuff).
Original commit message from CVS:
* gst/real/Makefile.am:
Fix build (add LIBS and CFLAGS for gst-plugins-base stuff).
2007-01-09 10:06:28 +00:00
Andy Wingo
215773aada New elements interleave and deinterleave, implement channel interleaving and deinterleaving.
Original commit message from CVS:
2007-01-07  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* gst/interleave/Makefile.am:
* gst/interleave/plugin.h:
* gst/interleave/plugin.c:
* gst/interleave/interleave.c:
* gst/interleave/deinterleave.c: New elements interleave and
deinterleave, implement channel interleaving and deinterleaving.
The interleaver can operate in pull or push mode but the
deinterleaver is more like a demuxer and can only operate in push
mode.
2007-01-07 22:03:54 +00:00
Edward Hervey
c1429dc970 configure.ac: Properly detect the two architectures on which the real plugin can be built.
Original commit message from CVS:
* configure.ac:
Properly detect the two architectures on which the real plugin can be
built.
Fixes #393622
2007-01-06 19:23:40 +00:00
Andy Wingo
2b5fdf422e ext/ladspa/gstsignalprocessor.c
Original commit message from CVS:
2007-01-06  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c
(gst_signal_processor_ouija_caps): Move around in the source
file...
(gst_signal_processor_prepare, gst_signal_processor_do_pulls):
Call ouija_caps in prepare() instead of do_pulls(), a bit earlier.
This allows us to have caps when we do the pad_alloc_buffer().
(gst_pad_alloc_buffer_and_set_caps): Use self->caps instead of the
pad caps, which might not be set yet.
2007-01-06 17:22:12 +00:00
Andy Wingo
24df4ce38b ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_add_pad_from_template)
Original commit message from CVS:
2007-01-06  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c:
(gst_signal_processor_add_pad_from_template)
(gst_signal_processor_fixate): Add a fixate function, to assist in
pathological ladspa-sine-fcac ! fakesink can-activate-pull=true
cases.
(gst_signal_processor_prepare, gst_signal_processor_process): Add
nframes args so that getrange can tell ladspa how many frames to
process.
(gst_signal_processor_ouija_caps): setcaps needs to be called
before processing, which normally happens when chaining a buffer
to a pad. However in getrange mode with no sinks we need to check
explicitly for this condition, guess some caps to use, and use
those to setcaps(). Hence this mystical function.
(gst_signal_processor_do_pulls): Pull in bytes, not samples.
Divine the caps if necessary.
(gst_signal_processor_getrange): Interpret the length as bytes,
not samples.
(gst_signal_processor_chain): nframes=G_MAXUINT, will be limited
by incoming buffer sizes.
2007-01-06 15:56:55 +00:00
Edward Hervey
e049792b5d gst/real/gstrealaudiodec.c: Don't call the RAFreeDecoder since it randomly causes segfaults.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_finalize):
Don't call the RAFreeDecoder since it randomly causes segfaults.
* gst/real/gstrealaudiodec.h:
indent properly.
2007-01-06 14:08:26 +00:00
Lutz Mueller
30d26643a6 gst/real/gstrealvideodec.*: Implement error recovery on setcaps failure.
Original commit message from CVS:
Patch by: Lutz Mueller <lutz@topfrose.de>
* gst/real/gstrealvideodec.c: (gst_real_video_dec_decode),
(gst_real_video_dec_setcaps), (open_library), (close_library),
(gst_real_video_dec_finalize):
* gst/real/gstrealvideodec.h:
Implement error recovery on setcaps failure.
2007-01-06 10:58:13 +00:00
Lutz Mueller
bda3b5839a gst/real/: Added RealAudio wrapper elementfactory.
Original commit message from CVS:
Patch by: Lutz Mueller <lutz@topfrose.de>
* gst/real/Makefile.am:
* gst/real/gstreal.c: (plugin_init):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain),
(gst_real_audio_dec_setcaps), (gst_real_audio_dec_init),
(gst_real_audio_dec_base_init), (gst_real_audio_dec_change_state),
(gst_real_audio_dec_finalize), (gst_real_audio_dec_set_property),
(gst_real_audio_dec_get_property), (gst_real_audio_dec_class_init):
* gst/real/gstrealaudiodec.h:
Added RealAudio wrapper elementfactory.
Modified structures so it can also work on x86_64 using the
adequate .so .
2007-01-06 10:41:46 +00:00
Tim-Philipp Müller
1bf15564bf Check for zlib and if available pass it explicitly to the linker when linking qtdemux. If not available (or --disable...
Original commit message from CVS:
* configure.ac:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_moov):
Check for zlib and if available pass it explicitly to the linker
when linking qtdemux. If not available (or --disable-external has
been specified!), disable the bits in qtdemux that use it. Fixes
build on MingW (#392856).
2007-01-05 18:32:03 +00:00
Edward Hervey
5b4a325811 configure.ac: Real video .so are now also available for x86_64, so we can build the
Original commit message from CVS:
* configure.ac:
Real video .so are now also available for x86_64, so we can build the
Real plugin on i386 AND x86_64.
* gst/real/Makefile.am:
* gst/real/gstreal.c: (plugin_init):
New plugin file for real .so wrapper plugins.
* gst/real/gstrealvideodec.c: (gst_real_video_dec_alloc_buffer),
(gst_real_video_dec_decode), (gst_real_video_dec_chain),
(gst_real_video_dec_activate_push), (gst_real_video_dec_setcaps),
(open_library), (close_library), (gst_real_video_dec_init),
(gst_real_video_dec_base_init), (gst_real_video_dec_finalize),
(gst_real_video_dec_set_property),
(gst_real_video_dec_get_property), (gst_real_video_dec_class_init):
* gst/real/gstrealvideodec.h:
Moved RealVideo element to separate file
Cleaned up code some more.
Make it work on x86_64.
Try several possible locations for .so
Separate opening/closing libraries in separate functions.
2007-01-05 18:15:52 +00:00
Tim-Philipp Müller
af11eaab0c tests/icles/videocrop-test.c: Call g_thread_init() right at the beginning. Remove superfluous gst_init() - we've alre...
Original commit message from CVS:
* tests/icles/videocrop-test.c: (main):
Call g_thread_init() right at the beginning. Remove superfluous
gst_init() - we've already been inited via the GOption stuff.
2007-01-05 16:07:12 +00:00
Tim-Philipp Müller
289b30d543 configure.ac: Don't compile rfbsource if we don't have sys/socket.h.
Original commit message from CVS:
* configure.ac:
Don't compile rfbsource if we don't have sys/socket.h.
Should fix compilation on MingW.
2007-01-05 14:02:33 +00:00